Gaining temporary access to copy files to the library folder...
Gaining temporary access to copy files to the library folder...
- Subject: Gaining temporary access to copy files to the library folder...
- From: deekpyro <email@hidden>
- Date: Sun, 14 Apr 2002 21:41:32 -0500
I'm using this method in my program to copy a file into the library folder
under the HD:
[[NSFileManager defaultManager] copyPath:@"/Applications/Moo X
Folder/Files/com.apple.windowserver.plist"
toPath:@"/Library/Preferences/com.apple.windowserver.plist" handler:nil];
but it never seems to work because I don't have proper privilages to copy
it.
Is their a command to give myself temporary access? Could I just create a
button and have it require authentication?
Thanks, Derek
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.