On 02/03/2019 16:55, Andrej Shadura wrote:
Well, not with sysvinit. You cannot expect the init script to undo all possible combinations of settings the user might set.
% grep -R umask /etc/init.d /etc/init.d/ferm: umask 0077 /etc/init.d/bootlogd: umask 027 /etc/init.d/sysstat: umask 022 /etc/init.d/urandom: umask 077 /etc/init.d/urandom: umask 022 /etc/init.d/urandom: umask 077 /etc/init.d/deluged: --chuid $USER --umask $MASK --test > /dev/null \ /etc/init.d/deluged: --chuid $USER --umask $MASK -- $DAEMON_ARGS \ /etc/init.d/rc: umask 022 /etc/init.d/ssh: umask 022 /etc/init.d/umountfs: umask 022 -- sergio.

