[Bug 728651] New: Non-root users can no longer build RPMs due to wrong permissions in /usr/src/packages
https://bugzilla.novell.com/show_bug.cgi?id=728651 https://bugzilla.novell.com/show_bug.cgi?id=728651#c0 Summary: Non-root users can no longer build RPMs due to wrong permissions in /usr/src/packages Classification: openSUSE Product: openSUSE 12.1 Version: RC 2 Platform: x86 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: harnold@gmx.de QAContact: qa@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:7.0.1) Gecko/20100101 Firefox/7.0.1 Building RPM packages using rpmbuild as a non-root user requires write permissions in the subdirectories under /usr/src/packages/. Since openSUSE 12.1, these directories have permission 0755, so that non-root users can no longer build RPMs. Up to openSUSE 11.4, the directories under /usr/src/packages/ had permission 1777 (world-writable, restricted deletion flag set). Reproducible: Always Steps to Reproduce: 1. Install openSUSE 12.1 RC2 2. As a non-root user, try to copy some sources to /usr/src/packages/SOURCES and build an RPM package using 'rpmbuild'. Actual Results: Non-root users can't write to /usr/src/packages/; building RPMs is not possible. Expected Results: Building RPMs as non-root user should be possible. -- 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=728651 https://bugzilla.novell.com/show_bug.cgi?id=728651#c Andreas Jaeger <aj@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |lnussel@suse.com |ovo.novell.com | -- 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=728651 https://bugzilla.novell.com/show_bug.cgi?id=728651#c1 Ludwig Nussel <lnussel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |INVALID --- Comment #1 from Ludwig Nussel <lnussel@suse.com> 2011-11-07 16:33:50 CET --- That's intentional (bnc#719217). Copy your stuff to ~/rpmbuild instead (src rpms are automatically installed there), rpmbuild will use that. -- 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=728651 https://bugzilla.novell.com/show_bug.cgi?id=728651#c2 --- Comment #2 from Holger Arnold <harnold@gmx.de> 2011-11-07 17:48:31 CET --- It is good that users can finally build packages in their home directories, but 1. 'zypper si' does *not* install sources *anywhere* when run as a non-root user. It does probably download the packages, but puts them nowhere. I will file a separate bug for this. 2. Can the '~/rpmbuild' directory be changed? Not everyone wants his home root be cluttered with such directory names. 3. Is this change documented somewhere? -- 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=728651 https://bugzilla.novell.com/show_bug.cgi?id=728651#c3 --- Comment #3 from Ludwig Nussel <lnussel@suse.com> 2011-11-08 09:12:37 CET --- I opened bug 728841 now -- 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=728651 https://bugzilla.novell.com/show_bug.cgi?id=728651#c4 --- Comment #4 from Holger Arnold <harnold@gmx.de> 2011-11-08 09:36:17 CET --- I opened bug 728698 for the problem that sources do not get installed. -- 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