[Bug 629048] New: rpm: %defattr overrides %attr if directory default permission given
http://bugzilla.novell.com/show_bug.cgi?id=629048 http://bugzilla.novell.com/show_bug.cgi?id=629048#c0 Summary: rpm: %defattr overrides %attr if directory default permission given Classification: openSUSE Product: openSUSE 11.3 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Basesystem AssignedTo: mls@novell.com ReportedBy: ro@novell.com QAContact: qa@suse.de CC: llipavsky@novell.com Found By: --- Blocker: --- on 11.3 and factory rpm will override individially specified permissions for directories if %defattr is present with 4 parameters (the last one denoting the default direcory permissions). # cat /usr/src/packages/SPECS/mini.spec Name: mini License: GPL Version: 1 Release: 0 Summary: foo %description foo %prep %build %install mkdir -m 777 $RPM_BUILD_ROOT/x %files %defattr(0644,root,root,0755) %dir %attr(0777,root,root) /x # rpm -qplv /usr/src/packages/RPMS/x86_64/mini-1-0.x86_64.rpm drwxr-xr-x 2 root root 0 Aug 6 12:22 /x -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=629048 https://bugzilla.novell.com/show_bug.cgi?id=629048#c1 Jeff Johnson <n3npq@mac.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |n3npq@mac.com Severity|Major |Critical --- Comment #1 from Jeff Johnson <n3npq@mac.com> 2010-09-11 02:50:06 UTC --- tracked at https://bugs.launchpad.net/rpm/+bug/633729 -- 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=629048 https://bugzilla.novell.com/show_bug.cgi?id=629048#c2 Michael Schröder <mls@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution| |FIXED --- Comment #2 from Michael Schröder <mls@suse.com> 2011-11-21 17:01:14 UTC --- I think this was fixed some time ago. -- 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