Permissions == Nightmare? Help Me
Permissions == Nightmare? Help Me
- Subject: Permissions == Nightmare? Help Me
- From: Lorenzo Puleo <email@hidden>
- Date: Thu, 20 Feb 2003 17:09:50 +0100
Again,
fileExistsAtPath returns NO for an existing folder placed on my G3
/Volumes/X/Y/Z
That folder exists for sure! Also I can copy files to the folders Y and Z.
What I did:
1) I logged in the G4 as lorenzop (administrator)
2) I logged in the G3 as lorenzop (administrator)
3) I mounted, on the G4 desktop, the volume X placed on the G3, loggin in as
lorenzop.
4) My Cocoa application runs as root on the G4.
5) For the folder Y the permissions are:
drwx------ 5 lorenzop admin 170 Feb 20 15:57 Y
6) For all the other folders and disk the permissions are rwxrwxrwx.
7) fileExistsAtPath returns NO for the folder Z
8) fileAttributesAtPath returns nil for the folder Z.
9) FSPathMakeRef returns error -120 for the folder Z.
10) isWritableFileAtPath returns YES for the paths
/X/Y/Z/myFile.rtf
/X/Y/Z
/X/Y
11) I can copy file to the folders Y and Z either via Finder and via my
application... strange. The problem is that I override existing files...
because all the items placed inside the folder Y seem to be not existing.
My Questions:
a) Why fileExistsAtPath says that the folder Z doesn't exist?
b) How could I fix this trouble?
Who understands this MacOS X behaviour please help me.
Thanks
--
Lorenzo Puleo
mailto:email@hidden
_______________________________________________
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.