Replace chmod with -M option
This commit is contained in:
parent
2b65970db6
commit
9af7654a9f
2 changed files with 8 additions and 1 deletions
|
@ -21,7 +21,7 @@ else
|
|||
-n "${user}" \
|
||||
-c "portzap user" \
|
||||
-m \
|
||||
-M $("${libexec}"/scripts/get-default-umask) \
|
||||
-s /sbin/nologin
|
||||
chmod u=rwX,g=rX,o= /home/"${user}"/
|
||||
printok "${user} user created"
|
||||
fi
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
# -*- mode: org -*-
|
||||
|
||||
* vNEXT
|
||||
|
||||
**** Replace chmod with -M switch
|
||||
This change replaces chmod with the -M switch. The -M switch
|
||||
is given to the ~pw useradd~ command in the ~setup-user~
|
||||
script
|
||||
|
||||
* v1.2.0
|
||||
|
||||
**** Change default clone url
|
||||
|
|
Loading…
Reference in a new issue