Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use cron to repair permissions on a regular basis' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use cron to repair permissions on a regular basis
Authored by: Shawn Parr on Nov 20, '04 09:01:34PM

I was not aware that this would work without adding the path, however in many *nix systems if you do not do this then diskutil will not be able to be found.

For instance on many linux systems making a script like this without declaring the path would give you a non-functioning script.

I also kept the host declaration in as it is possible that some apps, including diskutil may require it, and depending on how the system sets up its environment variables you may have to declare it per script much like the PATH reason above.

In SuSE there is an rc.common that the startup scripts can call that includes most of this information. I didn't see such a script for OS X.



[ Reply to This | # ]