file permission template

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Wed May 16 06:44:13 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?

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.


More information about the freebsd-questions mailing list