[launchd-dev] launchd and watchpath

Don Montalvo donmontalvo at mac.com
Sun Jun 8 17:14:06 PDT 2008


Of course I meant "Instead of ACL's"

-Don

Date: Sun, 08 Jun 2008 10:07:33 -0400
> From: Don Montalvo <donmontalvo at mac.com>
> Subject: [launchd-dev] launchd and watchpath
> To: launchd-dev at lists.macosforge.org
> Message-ID: <41D7B3A5-6EAC-4647-8ACB-D2378ABD170C at mac.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> We would like to set up a folder on our Macs that forces incoming
> files/folders to inherit permissions. Instead of ADL's, we'd like to
> use launchd (and watchpath). I'm not familiar with launchd, so I think
> this would be a good way to get my feet wet.
>
> The shared folder would be:
>
> 	/Users/Shared/WORK
>
> Each user would have an alias to it on their Desktop (created via
> logout hook):
>
> 	~/Desktop/WORK
>
> How can I set up launchd to watch this folder and ensure the contents
> are always set to 777? I don't have experience with launchd. I toyed
> with it in early Tiger days but there were issues with user launchd so
> I gave it up and stuck with cron. I understand launchd works as
> advertised on Leopard. Hoping it can help with this little project. :)
>
> Thanks,
> Don


More information about the launchd-dev mailing list