[Fedora-packaging] %post script run as root

Kamal Ahmed kamal2222ahmed at yahoo.com
Mon Apr 23 16:53:34 UTC 2012


Hi,
If i need to run some ash scripts as root in %post, is it within the guidelines of RPM building?
I Searched through Maximum RPM, and could not find the answer.

OR
Is it that ALL sections are run as root ( chroot) in the "BUILD" area, and when the rpm is finally installed in the target, it chroots to run the scripts as root ?

since i saw somewhere that %pre has a --nochroot qualifier

Thanks,
-Kamal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20120423/330c91b7/attachment.html>


More information about the packaging mailing list