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?
2012/5/12 Michael Sierchio <ku...@tenebras.com>: > man sh (or man csh) - look for 'umask' > > On Sat, May 12, 2012 at 7:37 AM, fake fake > <four.troublesome.he...@gmail.com> wrote: >> 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? >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"