[Bug 728841] New: rpm: %_topdir changed for non-root users
https://bugzilla.novell.com/show_bug.cgi?id=728841 https://bugzilla.novell.com/show_bug.cgi?id=728841#c0 Summary: rpm: %_topdir changed for non-root users Classification: openSUSE Product: openSUSE 12.1 Version: RC 2 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Release Notes AssignedTo: ke@suse.com ReportedBy: lnussel@suse.com QAContact: coolo@suse.com CC: harnold@gmx.de Found By: --- Blocker: --- unprivileged users can no longer write to /usr/src/packages. rpmbuild uses ~/rpmbuild now instead. To change change the directory put a line like the following in ~/.rpmmacros: %_topdir /some/where/else To use a subdir of $HOME use e.g. echo '%_topdir %{getenv:HOME}/foo' > ~/.rpmmacros -- 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=728841 https://bugzilla.novell.com/show_bug.cgi?id=728841#c1 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED --- Comment #1 from Karl Eichwalder <ke@suse.com> 2011-11-08 09:29:03 CET --- Thanks. Here is my proposal: <title>rpm: %_topdir Changed for Non-root Users</title> <para> Unprivileged users can no longer write to <filename>/usr/src/packages</filename>. <command>rpmbuild></command> now uses <filename>~/rpmbuild</filename> by default. To change the directory add a line as follows to <filename>~/.rpmmacros</filename>: </para> <screen>%_topdir /some/where/else</screen> <para> To use the subdirectory <filename>foo</filename> of <literal>$HOME</literal> add to <filename>~/.rpmmacros</filename>: </para> <screen>%_topdir %{getenv:HOME}/foo</screen> -- 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=728841 https://bugzilla.novell.com/show_bug.cgi?id=728841#c2 Karl Eichwalder <ke@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #2 from Karl Eichwalder <ke@suse.com> 2011-11-09 14:17:08 CET --- created request id 90813 SR done -- 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