RFR 7199674: (props) user.home property does not return an accessible location in sandboxed environment [macosx]
David DeHaven
david.dehaven at oracle.com
Wed Sep 11 11:51:06 PDT 2013
> In the versions of Mac OS X that I'm looking at (Lion and Mtn Lion) the Documents folder inside the sandbox is NOT a symlink. Desktop, Downloads, Movies, Music and Pictures ARE all symlinks, but not Documents, so "~/Library/Containers/com.blah.someapp/Data/Documents" is not the same as "~/Documents". Someone correct me if I'm wrong but that's what I'm seeing.
You're correct, I missed that detail :)
NSOpenPanel/NSSavePanel both return URLs to the actual Documents folder, even if you pass ~/Library/Containers/com.blah.someapp/Data/Documents as the starting folder.
-DrD-
More information about the macosx-port-dev
mailing list