symlink and sandbox
symlink and sandbox
- Subject: symlink and sandbox
- From: email@hidden
- Date: Mon, 13 Oct 2014 14:23:50 +1300
I am attempting to use symlink() inside a sandboxed application.
The source is "/Users/tridiak/at.txt". (It is a drag and dropped item.)
Destination is "/Users/tridiak/Library/Containers/nz.alphaco.Floaties/Data/Desktop/at.txt".
Which is inside of the sandboxed app's container.
The 'Desktop' component is a sym link to the real Desktop directory.
Calling symlink(source, destination) results in the error 'ENOENT', "A component of path2 does not name an existing file or path2 is an empty string."
But path2 (destination) does exist. Would the Desktop sym link be causing the issue or the sandbox restrictions?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden