• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
problem while installation...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problem while installation...


  • Subject: problem while installation...
  • From: "Amit Jain" <email@hidden>
  • Date: Tue, 6 Feb 2007 12:56:44 +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.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 .
 __________________
Regards..
@mit..
_______________________________________________

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


  • Follow-Ups:
    • Re: problem while installation...
      • From: "Tage Borg" <email@hidden>
    • Re: problem while installation...
      • From: Stephane <email@hidden>
  • Prev by Date: Re: Application window remains even the app crashes
  • Next by Date: Running Apple Event loop in unit tests
  • Previous by thread: Re: Uniform interface to WebDAV and file system?
  • Next by thread: Re: problem while installation...
  • Index(es):
    • Date
    • Thread