HP OpenVMS DCL Dictionary


Previous Contents Index


SET PROTECTION/DEFAULT

Establishes the default protection for files created by the current process.

Format

SET PROTECTION [=(code)]/DEFAULT


Parameter

code

Specifies the category of protection to be assigned by default to all files subsequently created by the current process. To override this protection, you must specify an explicit protection using either the SET SECURITY /PROTECTION command or the /PROTECTION qualifier on the CREATE command. If you do not specify a protection code, the current default remains unchanged.

The protection code is made up of the following components:

Note

Use the SET SECURITY/PROTECTION command to reset security characteristics of the directory or file.

Example


$ SET PROTECTION=(GROUP:RWED,WORLD:R)/DEFAULT
      

The SET PROTECTION/DEFAULT command in this example sets the default protection to grant unlimited access to other users in the same group and read (R) access to all users. The default protections for system and owner are not changed.


Previous Next Contents Index