Ubuntu client, umaks change possible via ucs?

Hi@all.

my Ubuntu client (19.10) joined the UCS domain with the join-script. Now I would like to change the UMASK to 007. When I create a file this happens with the following rights:

-rw-r--r-- 1 s.gehr Domain Users 0 Dec 11 09:05 test.txt

If I set the UMASK to 007 in the Bash, the file is created as I would like it to be:

s.gehr@pc001:~$ umask 007
s.gehr@pc001:~$ touch test2.txt
-rw-rw---- 1 s.gehr Domain Users 0 Dec 11 09:15 test2.txt

Now I tried to adjust the value via the file /etc/login.defs:

UMASK 007

but this has no effect :frowning:
Is it possible to set this value via the UCS server?

best regards
Sven

Mastodon