Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Launchd domain socket permission problem



On Aug 4, 2006, at 2:20 PM, Dave Zarzycki wrote:

On Aug 4, 2006, at 1:58 PM, Peter Bierman wrote:

My first guess would be the umask. For that to be involved, you might be creating the socket from a script instead of as part of your package payload. Either have your application create the socket at runtime and assign correct permissions then, or make the socket part of your package payload.

Agreed. Although as the launchd maintainer, I'd rather see the socket created as a part of the launchd job schema outlined in the property list, but that is my personal agenda. :-P

The socket is not created by the installer. The socket is created by launchd when launchd runs, using a launchd schema, and if I stop and restart launchd I can see it set the permissions back to 755 each time on the affected systems, even though the permissions in the launchd .plist say that the socket should be 777.


If it's a umask problem it would have to be a umask for launchd in general, and I'd expect that to break all *kinds* of things.

Kevin



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Launchd domain socket permission problem (From: Kevin Brock <email@hidden>)
 >Re: Launchd domain socket permission problem (From: Peter Bierman <email@hidden>)
 >Re: Launchd domain socket permission problem (From: Dave Zarzycki <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.