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+rxiGDFQkMPk3NoW2OshvdOaZaKFsPM+7oCH0p3NzOkTuqxcA@mail.gmail.com>
References:  <CA+rxiGAGsZMh9sDQ8z4ZXBiMvYgXPdoUqZYLHrQoU5wW7HVEGQ@mail.gmail.com> <CAHu1Y73pSopNpcdMGX3b0Z=hoLwAfCKmON_irQUrRgjWzT+DBA@mail.gmail.com> <CA+rxiGDFQkMPk3NoW2OshvdOaZaKFsPM+7oCH0p3NzOkTuqxcA@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: <http://docs.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1205160843240.27113>