Replace chmod with -M option
Some checks are pending
sourcezap / shellcheck (push) Waiting to run

This commit is contained in:
0x1eef 2024-09-13 05:08:29 -03:00
parent 712a9a7bd2
commit 56089665a7
2 changed files with 8 additions and 1 deletions

View file

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

View file

@ -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
**** Fix ~libexec/sourcezap/scripts/setup-doas~ bug