Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Default directory for opening files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Default directory for opening files




On May 4, 2012, at 7:04 PM, David DeHaven wrote:

A sandboxed app launches with it's current directory set to the apps container directory in which the app has unrestricted access.

This will break a lot of existing java won't it?
Assuming user.dir is set to point to the container directory and you do just about everything off of this instead of off the users home directory or other external paths, then you can just use this as the root for your filesystem and the restrictions shouldn't bother you a whole lot.? It sounds like the file system will take care of a unique user space within the container? Lower level api's take care of separating this out so again will not be a java app concern? Your path will go to the correct unique directory without you having to manage this other than starting with the correct 'root' directory? The 'true' path is determined in lower level i/o?
Am I more or less understanding this correctly?
 
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Default directory for opening files (From: David Leader <email@hidden>)
 >Re: Default directory for opening files (From: David DeHaven <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.