https://bugzilla.novell.com/show_bug.cgi?id=683017 https://bugzilla.novell.com/show_bug.cgi?id=683017#c0 Summary: SuSEconfig fails to set permissions Classification: openSUSE Product: openSUSE 11.4 Version: Final Platform: x86-64 OS/Version: openSUSE 11.4 Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: R.Vickers@cs.rhul.ac.uk QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-GB; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16 Running SuSEconfig fails to set permissions, for example those defined in /etc/permissions.local. I ran SuSEconfig from the command line and got the following messages: Executing /sbin/conf.d/SuSEconfig.permissions... no permissions will be changed if not called explicitly Checking permissions and ownerships - using the permissions files /etc/permissions /etc/permissions.secure /etc/permissions.d/mail-server /etc/permissions.d/sendmail /etc/permissions.local I looked at /sbin/conf.d/SuSEconfig.permissions and it contains the following line: /usr/bin/chkstat --suseconfig $mode This is peculiar because --suseconfig is not documented in chkstat(1), and because $mode does not appear to be set. So I typed /usr/bin/chkstat --system and that worked as expected. Note this is a security issue, because part of an administrator's security configuration will be lost. Reproducible: Always Steps to Reproduce: 1. Put some permission lines in /etc/permissions.local 2. Run SuSEconfig 3. Actual Results: No permissions changed Expected Results: Permissions changed as specified in /etc/permissions.local Here is a suggested patch: --- orig.SuSEconfig.permissions 2011-03-16 16:43:58.000000000 +0000 +++ SuSEconfig.permissions 2011-03-28 11:13:01.317663623 +0100 @@ -29,4 +29,4 @@ exit 0 fi -/usr/bin/chkstat --suseconfig $mode +/usr/bin/chkstat --system -- 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.