Re: problem while installation...
Re: problem while installation...
- Subject: Re: problem while installation...
- From: Stephane <email@hidden>
- Date: Tue, 6 Feb 2007 10:46:19 +0100
On Feb 6, 2007, at 8:26 AM, Amit Jain wrote:
Hi All,
I have developed an application(*mainApp*) which contains an another
application (*helperApp*-*which shud run with root privilege*)
inside its
resources.Now while building the package i have made it
relocatable. And
actually the helper application needs the root permissions for
launching so
i have set its SID and GID bit also before building the
package.Everythingworks fine when i install the application at
location /Applications (or any
root folders) but when i install the application at location like
/Users/movies (or any location that is in users folder) then the
helperApp
doesnt run with root privilege . Actually i am using a *postflight
script*for launching the helperApp and the data inside it is as
follows:
=========
#!/bin/sh
"$2/mainApp.app/Contents/Resources/helperApp.app/Contents/MacOS/
helperApp"&
exit 0
=========
"$2" is for current location of the mainApp and "&" is for background
process (as my helperApp is background process)
One more clue i wud give u may be it helps u in understanding my
problem:
While making the package i give the permissions as USER=root and
GROUP=admin
but when i install the application at a location other then root like
/Users/Movies..then the permissions are not USER=system and group =
admin
but they are USER=user_name and group = admin.
Sorry for such a long query but i had to write it .
Hi,
there's a mailing-list for installation related topics:
http://lists.apple.com/mailman/listinfo/installer-dev
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden