Default file permissions

Dánielisz László laszlo_danielisz at yahoo.com
Tue Nov 4 01:55:56 PST 2008


Yeah, I meant, cron.
May umask sound better, if you find out the best solution for your issue please let us know :)

Thank you!




________________________________
From: Roey D <darwinian.empire at gmail.com>
To: freebsd-questions at freebsd.org
Sent: Tuesday, November 4, 2008 9:49:10 AM
Subject: Re: Default file permissions

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
_______________________________________________
freebsd-questions at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"



      


More information about the freebsd-questions mailing list