file permission template
four.troublesome.heads at gmail.com
Sat May 12 15:15:55 UTC 2012
Thanks. But I need specific directory only.
umask way seems to set mode not only under ~/secret but other
directories like ~/public.
Is there any elegant way?
2012/5/12 Michael Sierchio <kudzu at tenebras.com>:
> man sh (or man csh) - look for 'umask'
> On Sat, May 12, 2012 at 7:37 AM, fake fake
> <four.troublesome.heads at gmail.com> wrote:
>> I need a sort of file permission template.
>> Under some particular directory (like ~/secret), I need all those
>> files (including newly creating one) mode 700.
>> Is there any template-trick? Or "chmod -R 700" every time?
>> freebsd-questions at freebsd.org mailing list
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions