From abdbf0ce5b290f2af7177279704ab6c0c83a2a2b Mon Sep 17 00:00:00 2001 From: Lukas Ertl Date: Fri, 30 Mar 2007 11:23:10 +0000 Subject: Add home directory creation mode to pw.conf(5) and be a bit more specific about the effect of the current umask on -M. --- pw/pw.8 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pw/pw.8') diff --git a/pw/pw.8 b/pw/pw.8 index 20fea9d..ae416e8 100644 --- a/pw/pw.8 +++ b/pw/pw.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd March 27, 2007 +.Dd March 30, 2007 .Dt PW 8 .Os .Sh NAME @@ -69,6 +69,7 @@ .Op Fl g Ar group .Op Fl G Ar grouplist .Op Fl k Ar dir +.Op Fl M Ar mode .Op Fl u Ar min , Ns Ar max .Op Fl i Ar min , Ns Ar max .Op Fl w Ar method @@ -453,7 +454,9 @@ This can be overridden by the option on the command line, if desired. .It Fl M Ar mode Create the user's home directory with the specified -.Ar mode . +.Ar mode , +modified by the current +.Xr umask 2 . If omitted, it is derived from the parent process' .Xr umask 2 . This option is only useful in combination with the -- cgit v1.2.3