FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 04-23-2012, 04:53 PM
Kamal Ahmed
 
Default %post script run as root

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
 
Old 04-23-2012, 05:09 PM
Rex Dieter
 
Default %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
 

Thread Tools




All times are GMT. The time now is 03:09 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org