https://bugzilla.novell.com/show_bug.cgi?id=883260 https://bugzilla.novell.com/show_bug.cgi?id=883260#c0 Summary: Update of aaa_base removes permissions to /dev/null Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jw@raven.inka.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:29.0) Gecko/20100101 Firefox/29.0 Because of security considerations, I have set umask to 022 and symlinked /root/.bash_history to /dev/null. With this settings, an update of aaa_base sets /dev/null to mode 0600 in its postinstall script. This is a long-standing issue, originally dicussed at http://lists.opensuse.org/opensuse/2009-03/msg00515.html and http://lists.opensuse.org/opensuse/2014-06/msg00748.html. The offending piece of code has been identified in http://lists.opensuse.org/opensuse/2014-06/msg00755.html and http://lists.opensuse.org/opensuse/2014-06/msg00761.html shows that the issue should have been fixed, but the fix addresses only the touch, not the chmod/chown. Reproducible: Always Steps to Reproduce: As root, execute: # umask 077; ln -sf /dev/null /root/.bash_hostory; zypper install -f aaa_base Actual Results: /dev/null is set to mode 0600, breaking all kinds of scripts Expected Results: Don't mess around with /dev/null -- 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.