Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2012 08:42:57 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        fake fake <four.troublesome.heads@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: file permission template
Message-ID:  <alpine.BSF.2.00.1205160842460.27113@wojtek.tensor.gdynia.pl>
In-Reply-To: <CA%2BrxiGAGsZMh9sDQ8z4ZXBiMvYgXPdoUqZYLHrQoU5wW7HVEGQ@mail.gmail.com>
References:  <CA%2BrxiGAGsZMh9sDQ8z4ZXBiMvYgXPdoUqZYLHrQoU5wW7HVEGQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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?

umask when creating files there.




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