Re: Can I change group and permissions on the messages file?



On Sun, 24 Sep 2006 21:44:48 -0400, Chris F.A. Johnson wrote:

Do NOT use the full path to a system executable (use stat rather
than /bin/stat; the same for chmod). Such files will be in your
PATH (unless you've screwed it up), but not all systems have them
in the same place; stat is not a standard command, so FC3 could
place it somewhere else.

How true. But, then the script would/should have something
like

#!/bin/bash or /bin/sh

PATH=/s/s/s:/s/s//ss:/fasfaf
export PATH

code here


I did check that /bin/stat was on FC5 but like you said, was not a
standard command.

Some security suggestions are to use full path on commands to help
prevent script in the middle of path problems. :)
http://searchopensource.techtarget.com/tip/0,289483,sid39_gci1216976,00.html

Downside is a maintenance headache.
.



Relevant Pages