eth0s/ports/filesystem/umask.sh
2019-10-03 18:00:34 +08:00

6 lines
127 B
Bash
Executable file

# By default, the umask should be set.
if [ "$(id -gn)" = "$(id -un)" -a $EUID -gt 99 ] ; then
umask 002
else
umask 022
fi