postflight script on Leopard
postflight script on Leopard
- Subject: postflight script on Leopard
- From: Geoffrey Hutchison <email@hidden>
- Date: Wed, 30 Jan 2008 11:10:51 -0500
I have a postflight install script for my Spotlight plugin. Since
stand-alone Spotlight plugins need to be installed into /Library/
Spotlight, I have set the install package to run with administrator
privileges.
On the other hand, the postflight script calls /usr/bin/mdimport which
refuses to run as root.
Is there an easy way to "drop" admin rights for a postflight script?
Thanks very much,
-Geoff
_______________________________________________
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