file permission template

Wojciech Puchar wojtek at
Wed May 16 06:43:03 UTC 2012

> 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.

More information about the freebsd-questions mailing list