diff options
author | Lukas Ertl <le@FreeBSD.org> | 2007-03-30 11:23:10 +0000 |
---|---|---|
committer | Lukas Ertl <le@FreeBSD.org> | 2007-03-30 11:23:10 +0000 |
commit | 678412e2ca614bde0a78f68030d634364c0b5a9f (patch) | |
tree | 0e4e14e94760be768219232eccfda8753fa332c2 /pw/pw.8 | |
parent | 426250738b1d9878487cba75856b1cfc6430c195 (diff) | |
download | pw-darwin-678412e2ca614bde0a78f68030d634364c0b5a9f.tar.gz pw-darwin-678412e2ca614bde0a78f68030d634364c0b5a9f.tar.zst pw-darwin-678412e2ca614bde0a78f68030d634364c0b5a9f.zip |
Add home directory creation mode to pw.conf(5) and be a bit
more specific about the effect of the current umask on -M.
Diffstat (limited to 'pw/pw.8')
-rw-r--r-- | pw/pw.8 | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |