[Bug 606249] New: changing default umask for new users homedir sets the current umask for ALL users including root
http://bugzilla.novell.com/show_bug.cgi?id=606249 http://bugzilla.novell.com/show_bug.cgi?id=606249#c0 Summary: changing default umask for new users homedir sets the current umask for ALL users including root Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Normal Priority: P5 - None Component: Security AssignedTo: security-team@suse.de ReportedBy: s2@forceway.com QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100317 SUSE/3.5.9-0.1.1 BetterPrivacy-1.47 Firefox/3.5.9 Yast->User and group management->Defaults for new users: Change umask for home directory. Logout. Now all users & root have this as active umask value. This caused me great confustion trying to 'sudo make install' codeblocks, as I always set my homedir umask for new users to 077. The install process used this and so all dirs wwere created as drwx------. So the program was unusable. Only root could run it. I think it bizzare behavior. The workaround I guess is to define the umask you want the user to have in some startup script or profile. Where should it go? Reproducible: Always Steps to Reproduce: Yast->User and group management->Defaults for new users: Change umask for home directory. Logout. Actual Results: user and root now use this as their umask Expected Results: this umask should only affect creation of new homedirs for new users!! -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c1
Thomas Biege
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c2
Vladislav Gorobets
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c3
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c4
Thorsten Kukuk
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c5
John McInnes
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c6
Jiří Suchomel
pam-config -q --umask session:
This is probably the default for 11.3: I did not change anything and can reproduce the behavoir. Does this mean that the behavior is correct? -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c7
Thorsten Kukuk
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c8
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c9
Thorsten Kukuk
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c10
Jiří Suchomel
http://bugzilla.novell.com/show_bug.cgi?id=606249
http://bugzilla.novell.com/show_bug.cgi?id=606249#c11
--- Comment #11 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com