problem while installation...
problem while installation...
- Subject: problem while installation...
- From: "Amit Jain" <email@hidden>
- Date: Wed, 7 Feb 2007 11:32:00 +0530
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.Everything works 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
.
__________________
Regards..
@mit..
_______________________________________________
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