The officially official Devuan Forum!

You are not logged in.

#1 Today 12:25:45

vi.joe
Member
Registered: Yesterday
Posts: 2  

umask - Problems & Solution

new on Devuan Excalibur since end of June after some Years on Debian ... ;-)

and a funny Story setting my umask - long Story short:

1.) my old Approach

cat ~/.bashrc.d/set_umask

# ...
# umask 0077
# ...

works fine in Shell Context, but not in Desktop Context, e.g. for Dolphin

2.) ALL tried Solutions (/etc/login.defs, pam_umask.so etc.) DID NOT WORK - WHY - ANY IDEAS ?

3.) Finally, setting the desired umask in /etc/passwd WORKS:

sed -i 's/:\/home\/user:/umask=077:\/home\/user:/' /etc/passwd

Offline

Board footer