On 22 August 2011 16:59, Paul Howarth <[email protected]> wrote:
> I'm surprised this builds at all in mock: it's trying to give away ownership
> of the file to root, which is a privileged operation. If you patch it not to
> try to do "-o root -g root" then it should work OK, and the resulting files
> will be owned by root anyway.

Looking a little closer at the install script, it actually performs a
check to see if it is running as root, and if not doesn't set those
owner/group permissions - in other branches, this check works
correctly. So the question is, why does mock in EPEL 5 run as root,
but not in EPEL6 and Fedora? This seems like a bit of a security
issue!

_______________________________________________
epel-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/epel-devel-list

Reply via email to