[Bug 737321] New: SuSEconfig doesn't set file permissions - only warns
https://bugzilla.novell.com/show_bug.cgi?id=737321 https://bugzilla.novell.com/show_bug.cgi?id=737321#c0 Summary: SuSEconfig doesn't set file permissions - only warns Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Security AssignedTo: security-team@suse.de ReportedBy: madworm_de.novell@spitzenpfeil.org QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:8.0) Gecko/20100101 Firefox/8.0 As I need /var/lock to be writable by members of the 'lock' group I have added a custom permission file to /etc/permissions.d and assumed I would be done with it. But to my surprise /var/lock was changed back to root:root by something. Now /etc/sysconfig/security: # SuSEconfig can call chkstat to check permissions and ownerships for # files and directories (using /etc/permissions). # Setting to "set" will correct it, "warn" produces warnings, if # something strange is found. Disable this feature with "no". # CHECK_PERMISSIONS="set" is set correctly as far as I can tell. Setting it to "no" correctly disables the permission checks when running SuSEconfig. Fine. Running 'chkstat --suseconfig --set' by hand works though! It seems /sbin/conf.d/SuSEconfig.permissions is supposed to call chkstat like so: /usr/bin/chkstat --suseconfig $mode .. This looks exactly like this one: https://bugzilla.novell.com/show_bug.cgi?id=683017 ARGH! Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=737321 https://bugzilla.novell.com/show_bug.cgi?id=737321#c1 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #1 from Ludwig Nussel <lnussel@suse.com> 2011-12-16 14:50:30 CET --- /etc/permissions is not suitable for things that need to be changed on every boot. It's systemd which got wrong defaults, next update will fix that (bnc#733523). SuSEconfig.permissions intentionally doesn't set permissions when not called explicitly (ie SuSEconfig --module permissions) to avoid surprising changes to the system. *** This bug has been marked as a duplicate of bug 683017 *** http://bugzilla.novell.com/show_bug.cgi?id=683017 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com