Re: setting permissions of installed items from command line
Re: setting permissions of installed items from command line
- Subject: Re: setting permissions of installed items from command line
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 5 Mar 2008 01:15:52 +0100
On Mar 5, 2008, at 12:37 AM, Philip Wasson wrote:
I would like to be able to build installer packages from a shell
script called from a Run Script build phase in my Xcode project.
However, apparently I'm supposed to set the ownership of
applications to be installed into /Applications to root and admin,
right? Xcode won't be running as root, so a script it calls can't
chown to root. Is there some tool or technique to allow this? I saw
some similar questions on this list and also the unix-porting list,
but no answers. Any ideas?
- build your Xcode project with the Xcode command line tool run as root
or
- create a setuid tool that changes the permissions
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden