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.
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
04-23-2012, 05:09 PM
Rex Dieter
%post script run as root
On 04/23/2012 11:53 AM, Kamal Ahmed wrote:
Hi,
If i need to run some ash scripts as root in %post, is it within the
guidelines of RPM building?
scriptlets generally run as the user doing the installing, which almost
always is root.
-- rex
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging