• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Sandboxing rearing its ugly head again with folder actions.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sandboxing rearing its ugly head again with folder actions.


  • Subject: Re: Sandboxing rearing its ugly head again with folder actions.
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 26 Jun 2013 10:02:03 +0200

Le 26 juin 2013 à 00:51, Alex Zavatone a écrit :

> This is a followup on my suspicion that sandboxing might be getting in the way of an AppleScript Folder Action that writes out a plist into a volume that is shared ala HTTP and AFP, which I then read from an iOS app.

Hello Alex,

I'm still trying hard to understand what you are speaking about, to figure out the environment you are struggling with.

For example, you're mentioning HTTP and AFP sharing but then you seem to suspect smbd not being able to do its job...

Anyway, please find hereafter some questions that could help to circumscribe the problem.


> Yeah, it's really happening.
>
> Platform: Mac OS X Server 10.8.2

The other day, you wrote 10.8.3.
I don't know whether this detail may be of some importance in this case, but detail may be evil.


> Folder path
> /Users/SVN/Sites/Synched Folders/Videos

So, I guess this is a folder on the server?

What is the share point? /? /Users? /Users/SVN? /Users/SVN/Sites? /Users/SVN/Sites/Synched Folders? or /Users/SVN/Sites/Synched Folders/Videos?

What are the sharing settings for that share point?
(the output of the relevant serveradmin commands would probably be the most enlightening; or, even better but may be somewhat lengthy, the output of "serveradmin settings all", of course with sensitive info anonymized).


> I have successfully added the same folder action script to 3 other folders within the parent.

Do you mean something like /Users/SVN/Sites/Synched Folders/folder1?

Again, what is the share point and its sharing settings?
(of course, may be the same as in previous question)

Now, just to be sure: the same script fails when attached to Videos but succeeds when attached to folder1?
Could you provide us with the output of following commands:

	ls -alde /
	ls -alde /Users
	ls -alde /Users/SVN
	ls -alde /Users/SVN/Sites
	ls -alde /Users/SVN/Sites/Synched\ Folders
	ls -alde /Users/SVN/Sites/Synched\ Folders/Videos
	ls -alde /Users/SVN/Sites/Synched\ Folders/folder1


> Upon adding a file or folder to the above folder, this is what happens in the console:
>
> [smbd-related stuff]

How does an item get added to folder Videos or folder1?
By hand, when logged in (as which user?) on the server?
Automatically, by some process running on the server (as which user?), without anybody logged in?
Remotely, thru a sharing protocol (which one?)?

Could you also provide a minimal folder action script displaying above behavior (failure on Video, success on folder1)? Probably just a "adding folder items" handler with the problematic file writing action: the script you provided the other day is faaaar too complicated for me. ;-)

Axel






 _______________________________________________
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


  • Prev by Date: Re: ScriptUI Problems Reported with InDesign CC - In AS Too ???
  • Next by Date: Re: unresponsive apps and applescript
  • Previous by thread: Re: Sandboxing rearing its ugly head again with folder actions.
  • Next by thread: ScriptUI Problems Reported with InDesign CC - In AS Too ???
  • Index(es):
    • Date
    • Thread