[launchd-dev] Correct permissions for /Library/LaunchAgents

Damien Sorresso dsorresso at apple.com
Mon Jul 20 13:19:13 PDT 2009


On Jul 20, 2009, at 1:10 PM, Iceberg-Dev wrote:
> On Jul 20, 2009, at 7:31 PM, Damien Sorresso wrote:
>> On Jul 20, 2009, at 8:59 AM, Stephane Sudre wrote:
>>> What should be the correct permissions for the /Library/LaunchAgents
>>> folder and the plist inside it?
>>>
>>> owner : group   privileges ?
>>
>>
>> drwxr-xr-x   2 root  wheel   204B Jul 17 12:18 LaunchDaemons
>
> Thanks.
>
> It's not an issue that it's still working fine with root:admin (for  
> LaunchAgents)?


Whoops, I gave you the wrong one. Though for /Library/LaunchAgents,  
the ownership and permissions are still the same.

What launchd really cares about is that those locations are only  
writable by root. So the group ownership isn't a big deal unless that  
group can has write access to that directory.
-- 
Damien Sorresso
BSD Engineering
Apple Inc.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2425 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/launchd-dev/attachments/20090720/69261282/attachment.bin>


More information about the launchd-dev mailing list