Re: Owner/group while building SRPMs

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

 



On Wed, 2004-10-13 at 11:27 -0600, Bryan Stillwell wrote:
> Is there a way while building an SRPM as a non-root user to change the
> ownership information of files taken from the SOURCES directory?  My
> initial ideas of adding the following to my ~/.rpmmacros file didn't
> work:
> 
>   %__cpio   /bin/cpio --no-preserve-owner
> 
> also tried:
> 
>   %__cpio   /bin/cpio --owner=root:root

rpm uses it's own cpio implementation rather than exec'ing cpio.  

To be honest it's not really that big a deal - it's only for SRPMS, so
those experiencing the warning are going to be rebuilding rpms which is
a different class of user than installing the software.  The sanity of
building as non-root is worth the annoyance of the user not exist
message.

Paul

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux