Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Nov 2008 10:49:10 +0200
From:      "Roey D" <darwinian.empire@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Default file permissions
Message-ID:  <c9f50ec40811040049md982727q421e7f9d9cb6b52c@mail.gmail.com>
In-Reply-To: <894806.41766.qm@web30801.mail.mud.yahoo.com>
References:  <894806.41766.qm@web30801.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
2008/11/4 D=E1nielisz L=E1szl=F3 <laszlo_danielisz@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?c9f50ec40811040049md982727q421e7f9d9cb6b52c>