Re: Launchd domain socket permission problem
Re: Launchd domain socket permission problem
- Subject: Re: Launchd domain socket permission problem
- From: Kevin Brock <email@hidden>
- Date: Fri, 4 Aug 2006 14:25:03 -0700
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:
This email sent to email@hidden