Regenerates the security profile of a file. The default qualifier
changes the protection code, the ACL, and the owner elements of a
file to what it would be if the file had just been created. The
profile is recreated according to the following rules:
o The protection code is propagated from the default protection
ACE on the directory (if one exists), or else it is propagated
from the process default.
o The ACL is propagated from the parent directory for those ACEs
that have the default option.
o The owner is set to the owner of the parent directory.
With subdirectory files, SET SECURITY assigns the owner,
protection, and ACL elements of the parent directory.
SET SECURITY does not copy any ACE on the source object if the
ACE holds the nopropagate attribute nor does it change any ACE
on the target object if the ACE holds the protected attribute. To
apply new elements to all versions of the file, specify ;* in the
object name. See the HP OpenVMS Guide to System Security for more
information on propagation rules.