PDA

View Full Version : How to copy file permission in programming on Mac OS 9




aixing
Oct 18, 2005, 08:00 AM
I can set "kFSCatInfoPermissions" for the whichinfo field when using function FSGetCatalogInfo() and FSSetCatalogInfo(). But this routine is only supposed for Max OS X.

The following info is from the system header file:
struct FSCatalogInfo
{
.....
UInt32 permissions[4]; /* permissions (for Mac OS X) */
....
};

On Mac OS 9, if I try to copy the file from one mounted UNIX volume to another one, the file permission seems to be missing.

Any help would be appreciated !



MacDawg
Oct 18, 2005, 08:07 AM
Please only post in one place

Woof, Woof Dawg http://homepage.mac.com/k.j.vinson/pawprint.gif