How to copy file permission in programming on Mac OS 9

Discussion in 'Mac Programming' started by aixing, Oct 18, 2005.

  1. macrumors newbie

    Joined:
    Oct 18, 2005
    #1
    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 !
     
  2. macrumors P6

    MacDawg

    Joined:
    Mar 20, 2004
    Location:
    "Between the Hedges"
    #2
    Please only post in one place

    Woof, Woof – Dawg [​IMG]
     

Share This Page