ansible/roles/autofs/files/umask.sh

5 lines
105 B
Bash
Executable file

# shellcheck shell=sh
if [ "$(id -u)" -gt 999 ] && [ "$(id -gn)" = "$(id -un)" ]; then
umask 007
fi