realbasic-nug
[Top] [All Lists]

Re: Permissions

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Permissions
From: Norman Palardy <npalardy at zymetacorp dot com>
Date: Tue, 6 Aug 2002 09:10:47 -0600
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



<Prev in Thread] Current Thread [Next in Thread>