Re: Are folder actions in 10.8 completely broken?
Re: Are folder actions in 10.8 completely broken?
- Subject: Re: Are folder actions in 10.8 completely broken?
- From: Alex Zavatone <email@hidden>
- Date: Fri, 07 Jun 2013 19:40:42 -0400
- Well, I'm not near that Mac now, but the message was in the console about the AppleScript Runner not being able to be brought to the front since it was "tried to be brought forward, but isn't in fPermittedFrontASNs so denying.
- I searched on that error message and the first page of reports indicated that this was caused by GateKeeper. Admittedly, I'm assuming at this point since I didn't get it work.
- Not sure if other folder actions work on that system. I have 10.8.3 (not server) under VMWare and I'll try that and get back to you.
- the format is a script saved right out of the AS Editor. I'll send the file offline if needed.
- will retest on on this box in a second.
Thanks. Will be right back with info as soon as my waitress comes back with a fresh beer.
On Jun 7, 2013, at 7:15 PM, Christopher Nebel wrote:
> On Jun 7, 2013, at 3:31 PM, Alex Zavatone <email@hidden> wrote:
>
>> I just created a great little script that writes out a plist of folder contents if the contents of a folder are changed by adding files or deleting them.
>>
>> Works like a charm on 10.6.8
>>
>> I copied it over to my 10.8.3 server, enabled Folder Actions, applied the script to a folder and immediately got fpermittedfrontasns errors, even though GateKeeper is set to allow everything to run.
>>
>> It turns out this is one of Apple's AWESOME security PITA issues and you have to disable gatekeeper with this command:
>>
>> spctl --master-disable
>>
>> But now that that is fixed, I get nothing at all in the console log when I either duplicate a file in that folder from that Mac, or when logged into the folder that is served up ala an AFP share point.
>>
>> The folder action doesn't run at all.
>>
>> Any ideas?
>
> I don't know offhand what's going on, but several questions for you:
>
> - What is the exact error message you were getting that mentioned "permitted front ASNs", and where was it appearing?
> - How do you know this was connected with Gatekeeper?
> - Do any other folder actions work on your system?
> - What format is your folder action script? (scpt, scptd, applet...)
> - What is the output of...
>
> "xattr -p com.apple.quarantine path-to-your-script"?
> "spctl -a path-to-your-script"?
>
>
> --Chris Nebel
> AppleScript Engineering
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden