[prev in list] [next in list] [prev in thread] [next in thread] 

List:       launchd-dev
Subject:    Re: [launchd-dev] launchd and watchpath
From:       Don Montalvo <donmontalvo () mac ! com>
Date:       2008-06-09 19:26:43
Message-ID: 1D902C25-C4B1-45E0-BF86-14871671AF24 () mac ! com
[Download RAW message or body]

Dave, thanks for the feedback. I'll go the ACL route.

Don

On Jun 9, 2008, at 1:11 PM, Dave Zarzycki wrote:

> Don,
>
> What you are proposing is inherently fragile due to race conditions.  
> Please pursue the ACL option further if you care about reliability.  
> Thanks!
>
> davez
>
>
> On Jun 8, 2008, at 5:14 PM, Don Montalvo wrote:
>
>> Of course I meant "Instead of ACL's"
>>
>> -Don
>>
>> Date: Sun, 08 Jun 2008 10:07:33 -0400
>>> From: Don Montalvo <donmontalvo@mac.com>
>>> Subject: [launchd-dev] launchd and watchpath
>>> To: launchd-dev@lists.macosforge.org
>>> Message-ID: <41D7B3A5-6EAC-4647-8ACB-D2378ABD170C@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
>> _______________________________________________
>> launchd-dev mailing list
>> launchd-dev@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev
>

_______________________________________________
launchd-dev mailing list
launchd-dev@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/launchd-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic