Re: Can I change group and permissions on the messages file?
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Sun, 24 Sep 2006 21:02:01 -0500
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.
.
- Follow-Ups:
- Re: Can I change group and permissions on the messages file?
- From: Ohmster
- Re: Can I change group and permissions on the messages file?
- From: Chris F.A. Johnson
- Re: Can I change group and permissions on the messages file?
- References:
- Can I change group and permissions on the messages file?
- From: The Ohmster
- Re: Can I change group and permissions on the messages file?
- From: Ohmster
- Re: Can I change group and permissions on the messages file?
- From: Bit Twister
- Re: Can I change group and permissions on the messages file?
- From: Ohmster
- Re: Can I change group and permissions on the messages file?
- From: Chris F.A. Johnson
- Can I change group and permissions on the messages file?
- Prev by Date: Re: Bit Twister: Is this the dhclient-exit-hooks you were talking about?
- Next by Date: Re: Can I change group and permissions on the messages file?
- Previous by thread: Re: Can I change group and permissions on the messages file?
- Next by thread: Re: Can I change group and permissions on the messages file?
- Index(es):
Relevant Pages
|