Re: fakeroot

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

 



On July 29, 2006 10:10:42 AM -0600 Bob Proulx <bob@xxxxxxxxxx> wrote:
Red Hat's rpm contains a %attr(-,root,root) directive that overrides
the owners stored in the embedded cpio of the .rpm file.  Therefore
generally fakeroot is not needed with rpm.  Simply use %attr to set
the ownership as you require them to be set.  You will still see the
builder's ownership in the .rpm file (e.g. rpm2cpio) but at
installation time the ownership will be set by rpm explicitly.

Minor point (don't let it distract from the main point of the thread),
this is incorrect.  rpm alters the file data when STORING data into
the embedded .cpio, not when EXTRACTING.  rpm2cpio | cpio -itv will
reveal the %attr attributes, not the on-disk attributes at build time.

-frank

_______________________________________________
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