Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 08:44:06 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        fake fake <four.troublesome.heads@gmail.com>
Cc:        Michael Sierchio <kudzu@tenebras.com>, freebsd-questions@freebsd.org
Subject:   Re: file permission template
Message-ID:  <alpine.BSF.2.00.1205160843240.27113@wojtek.tensor.gdynia.pl>
In-Reply-To: <CA%2BrxiGDFQkMPk3NoW2OshvdOaZaKFsPM%2B7oCH0p3NzOkTuqxcA@mail.gmail.com>
References:  <CA%2BrxiGAGsZMh9sDQ8z4ZXBiMvYgXPdoUqZYLHrQoU5wW7HVEGQ@mail.gmail.com> <CAHu1Y73pSopNpcdMGX3b0Z=hoLwAfCKmON_irQUrRgjWzT%2BDBA@mail.gmail.com> <CA%2BrxiGDFQkMPk3NoW2OshvdOaZaKFsPM%2B7oCH0p3NzOkTuqxcA@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?

elegant way is just to chmod 700 ~/secret and do not do anything more, as 
files under ~/secret are already inaccessible too for others and group.



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