Replace chmod with -M option

This commit is contained in:
0x1eef 2024-09-13 04:48:13 -03:00
parent 2b65970db6
commit 9af7654a9f
2 changed files with 8 additions and 1 deletions

View file

@ -21,7 +21,7 @@ else
-n "${user}" \ -n "${user}" \
-c "portzap user" \ -c "portzap user" \
-m \ -m \
-M $("${libexec}"/scripts/get-default-umask) \
-s /sbin/nologin -s /sbin/nologin
chmod u=rwX,g=rX,o= /home/"${user}"/
printok "${user} user created" printok "${user} user created"
fi fi

View file

@ -1,5 +1,12 @@
# -*- mode: org -*- # -*- 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 * v1.2.0
**** Change default clone url **** Change default clone url