Permissions checks when installing a daemon
Permissions checks when installing a daemon
- Subject: Permissions checks when installing a daemon
- From: Monte Benaresh <email@hidden>
- Date: Fri, 13 Aug 2010 17:37:28 -0700
Hello All,
One of our installers installs a daemon to /Library/PrivilegedHelperTools/. I have written a bash script to enforce the security recommendations in TN2083, which says that this directory, and all of its parents, must have certain permissions and must be owned by "root" in order to prevent an unauthorized process from substituting their own daemon in place of ours.
Our problem is, one of our Beta users has "/" owned by "_spotlight", and so we fail to
install due to the security checks in our preflight script as alluded to above. Disk Utility does not repair this problem.
We are concerned that this will be a support issue, so our questions are:
1. Can we securely allow "/" to be owned by other than "root"?
2. Is it permissible for us to change the owner of "/" to "root"?
3. If either /Library/ or Library/PrivilegedHelperTools/ is not owned by "root" is it
permissible for us to change the owner to "root"?
Many Thanks,
Monte Benaresh
PACE Anti-Piracy
_______________________________________________
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