VMS Help  —  CRTL  chmod  Arguments
 file_spec

    The name of an OpenVMS or UNIX style file specification.

 mode

    A file protection. Modes are constructed by performing a bitwise
    OR on any of the values shown in File Protection Values and Their
    Meanings.

    Table REF-2 File Protection Values and Their Meanings

    Value  Privilege

    0400   OWNER:READ
    0200   OWNER:WRITE
    0100   OWNER:EXECUTE
    0040   GROUP:READ
    0020   GROUP:WRITE
    0010   GROUP:EXECUTE
    0004   WORLD:READ
    0002   WORLD:WRITE
    0001   WORLD:EXECUTE

    When you supply a mode value of 0, the chmod function gives the
    file the user's default file protection.

    The system is given the same privileges as the owner. A WRITE
    privilege also implies a DELETE privilege.
Close Help