Open application with lowered privileges
- by GP89
I have a mac installer which runs as root with pre and post install bash scripts.
At the end of the post install script I launch the application which inherits and opens as root. Is there a way I can lower the permissions back down to the user that ran the installer and then open the app?
Or a more hackish way I can set the app to open in some scheduler from the script, which then gets opened by the scheduler which would have the users permissions