Default file permissions

Roey D darwinian.empire at gmail.com
Tue Nov 4 00:49:11 PST 2008


2008/11/4 Dánielisz László <laszlo_danielisz at yahoo.com>:
> Roey, you can do a chron to chmod the downloaded directory.
>

Did you mean using cron?
I'm not very familiar with that, but as far as I know cron jobs can
run at specifc times, not on specifc events.
Creating a cron job that runs every 5 minutes for chmod sounds a bit
like a waste of CPU, and the effect will occur every 5 minutes, not
immidietly when a file is downloaded.
umask command seems to do the trick. Thanks.

Roey


More information about the freebsd-questions mailing list