On 2011-03-14 15:19:36 +0100, Juergen Weigert wrote:
On Mar 14, 11 10:47:27 -0300, Cristian Rodríguez wrote:
Going through this step by step, when I do "osc build openSUSE_Factory", I'm asked to su to root - why? (it seems unnecessary).
You need CAP_SYS_CHROOT , only root has that capability by default.
fakechroot(1) comes to mind. Would that help?
no we really need root permissions because after the chroot we want to get the build process running as user abuild. also installing rpms shouldnt be done as a non root user, so the package cant accidently modify the chroot during the build (misguided make install e.g.) darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org