Current64 : the May 19
pam update to 1.5.3 brings a /etc/security/namespace.init.new that in my opinion contains a typo:
Code:
--- namespace.init 2020-05-16 21:44:36.000000000 +0200
+++ namespace.init.new 2023-05-19 20:53:48.000000000 +0200
@@ -16,7 +16,7 @@
cp -rT /etc/skel "$homedir"
chown -R "$user":"$gid" "$homedir"
mask=$(awk '/^UMASK/{gsub("#.*$", "", $2); print $2; exit}' /etc/login.defs)
- mode=$(printf "%o" $((0777 & ~$mask)))
+ mode=$(printf "%o" $((0777 & ~mask)))
chmod ${mode:-700} "$homedir"
[ -x /sbin/restorecon ] && /sbin/restorecon -R "$homedir"
fi
Note the ~
$mask vs ~mask