HP OpenVMS Systems

ask the wizard
Content starts here

OpenVMS Protection Masks? (RMS_FILEPROT)

» close window

The Question is:

What does a RMS_FILEPROT setting of 61440 mean and how would I set the
 RMS_FILEPROT so that world or group access would be denied?

The Answer is :

  The OpenVMS protection is expressed as a mask.  The specified mask
  61440 (decimal) is more easily understood as F000 (hexadecimal),
  which represents the following protection:
  Cleared bits in the mask indicate that read, write, execute, and delete
  access, in that order, are granted to the particular category of user.
  Bits that are set deny the specified access.
  From lowest to highest bit in the word-length mask, each 4-bit nibble
  in the protection mask represents system, owner, group, and world access.
  System access is open to all accessors possessing a system UIC (any UIC
  equal to or less than MAXSYSGROUP) or possessing the system privilege
  (SYSPRV) in the currently-enabled privilege mask, owner access to any
  user with a matching UIC, group access to any user with a matching UIC
  group number, and world access to all other users.

answer written or last revised on ( 25-JUL-2000 )

» close window