Re: copying from app bundle
Re: copying from app bundle
- Subject: Re: copying from app bundle
- From: Steve Christensen <email@hidden>
- Date: Thu, 14 Dec 2006 08:12:52 -0800
On Dec 14, 2006, at 6:25 AM, Olariu Adrian Mihai wrote:
I am trying copy the resource files from an cocoa application using
NSFileManager( the appliaction from which I'm trying to copy the
files is the one which is running). The problem is that for some
users is working and to others not and I can't figure it out what
is happening. Maybe is something about a directory name, but I'm
not sure. I'm getting the file's path from the bundle information
(NSBundleResourcePath).
Where is the copy process failing? One thing to consider is that the /
Applications directory hierarchy is read-only to non-admin users. If
you're copying to a destination within that hierarchy (including your
application's bundle), it won't work. If you're moving resources
around on a per-user basis, for example, it's better to copy to
someplace like the user's application support folder.
steve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden