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


Click here to return to the 'A simpler way' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A simpler way
Authored by: astfgl on Jul 08, '04 11:20:02AM
You can also just chmod o-rwx any directories you want excluded; as the weekly job runs the locate.updatedb as user nobody it can't see into directories unless they are world-readable/executable. Again, this means you only need to change the top-level directory, not every directory under it.

This might cause a problem if you need all users to be able to see the files in the directory, I suppose.

[ Reply to This | # ]