Re: mock: /usr/sbin/groupadd: Permission denied

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 10 Jan 2012, Pavel Lisy wrote:

I'm trying make rpm of qmail and I've ended in situation where mock
can't create group/users during "mock rebuild".

Qmail compilation requires make it under specific user.

How can I solve it? Can I force user creation in mock somehow?

Look at some other packages on how to add/remove users and groups in the
%post section of the spec file.

Remember that only the actual rpm install itself has root permissions to
create files/groups/users other then the user it runs as. Building rpms
should not require root (though running mock rebuild requires wrapping
it in sudo)

Paul
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux