[Bug 1217414] changing default umask for new users homedir sets the current umask for ALL users including root
https://bugzilla.suse.com/show_bug.cgi?id=1217414 https://bugzilla.suse.com/show_bug.cgi?id=1217414#c10 --- Comment #10 from Boehmer <joergboe44@googlemail.com> --- No. In TW there is no /etc/login.defs: ll /etc/login.defs ls: cannot access '/etc/login.defs': No such file or directory The yast changes the file /etc/login.defs.d/70-yast.defs: --- /.snapshots/1353/snapshot/etc/login.defs.d/70-yast.defs 2024-06-21 18:40:27.621291748 +0200 +++ /.snapshots/1354/snapshot/etc/login.defs.d/70-yast.defs 2024-07-19 18:24:07.444027813 +0200 @@ -10,4 +10,4 @@ SYS_UID_MIN 100 SYS_GID_MAX 499 SYS_GID_MIN 100 -UMASK 022 +UMASK 002 And this changes directly the umask for all new logins: su --login root Password: pluto:~ # umask 0002 su --login alibaba Password: alibaba@pluto:~> umask 0002 IMO the yast stores the 'Defaults for New Users' -> 'Umask for Home Directory' in an inappropriate place and/or with an inappropriate name. -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com