https://bugzilla.novell.com/show_bug.cgi?id=390262 Summary: yast2-mail rpm-postinstall relies on root umask 0022 Product: openSUSE 11.0 Version: Factory Platform: All OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jmayer@loplof.de QAContact: jsrain@novell.com Depends on: 390260 Found By: --- I'm opening two bugs for the same type of problem, as two different packages have that problem, one per package. aaa_base-11.0-63 yast2-mail-2.16.2-9 The problem: The postinstall scripts of the rpms create/replace files and while doing so assume a root umask of 0022. This will cause problems when root's umask is 0077: jmayer@egg:~> egg login: jmayer Password: Last login: Tue May 13 07:09:17 CEST 2008 on tty2 You have mail. Have a lot of fun... -bash: /etc/sysconfig/suseconfig: Permission denied -bash: /etc/sysconfig/mail: Permission denied Agent pid 3828 jmayer@egg:/etc/profile.d> rpm -qf /etc/profile.d/profile.sh aaa_base-11.0-65 jmayer@egg:~> ll --full-time /etc/sysconfig/suseconfig -rw------- 1 root root 2580 2008-05-13 00:58:06.000000000 +0200 /etc/sysconfig/suseconf ig jmayer@egg:~> ll --full-time /etc/sysconfig/mail -rw------- 1 root root 1316 2008-05-13 02:25:26.000000000 +0200 /etc/sysconfig/mail jmayer@egg:~> rpm -qa --last (excerpt): yast2-inetd-2.16.0-14 Tue May 13 02:25:30 2008 yast2-mail-2.16.2-9 Tue May 13 02:25:26 2008 yast2-samba-server-2.16.3-2 Tue May 13 02:25:22 2008 DirectFB-1.1.1-41 Tue May 13 00:58:13 2008 aaa_base-11.0-63 Tue May 13 00:58:05 2008 alsa-devel-1.0.16-31 Tue May 13 00:58:02 2008 The bug is in the postinstall scripts of the package, as it creates a new file and leaves the new file at the default permissions, which in turn are modified by root's umask, which is 0077 on my system, resulting in files with permissions 600. -- 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.