Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 13 May 2012 00:15:54 +0900
From:      fake fake <four.troublesome.heads@gmail.com>
To:        Michael Sierchio <kudzu@tenebras.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: file permission template
Message-ID:  <CA%2BrxiGDFQkMPk3NoW2OshvdOaZaKFsPM%2B7oCH0p3NzOkTuqxcA@mail.gmail.com>
In-Reply-To: <CAHu1Y73pSopNpcdMGX3b0Z=hoLwAfCKmON_irQUrRgjWzT%2BDBA@mail.gmail.com>
References:  <CA%2BrxiGAGsZMh9sDQ8z4ZXBiMvYgXPdoUqZYLHrQoU5wW7HVEGQ@mail.gmail.com> <CAHu1Y73pSopNpcdMGX3b0Z=hoLwAfCKmON_irQUrRgjWzT%2BDBA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@tenebras.com>:
> man sh (or man csh) - look for 'umask'
>
> On Sat, May 12, 2012 at 7:37 AM, fake fake
> <four.troublesome.heads@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@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BrxiGDFQkMPk3NoW2OshvdOaZaKFsPM%2B7oCH0p3NzOkTuqxcA>