file permission template

fake fake four.troublesome.heads at
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>:
> man sh (or man csh) - look for 'umask'
> On Sat, May 12, 2012 at 7:37 AM, fake fake
> <four.troublesome.heads at> 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 mailing list
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list