On Tuesday, August 6, 2002, at 07:24 AM, Christian Schmitz wrote:
If my application has to deal with copying/backing up files then how
do I
deal with file permissions under OSX?
copy all files you can copy.
Warn the user that some files can't be copied.
Or run as root and copy every file, but preserve the permissions.
What permissions are required to simply copy a file
Having been the victim of Unix permissions on OS X fle copies simply
fail if the permissions are wrong.
No error, nothing
The file just never gets to it's destination.
The same is true of moving a file
Read permissions.
- what would cause the copy to fail?
No read permissions.
Or in the case of move no write permissions
|