Sets the inherited rights mask for the given file object.
#include <zPublics.h> STATUS zSetInheritedRightsMask( Key_t key, Xid_t xid, LONG inheritedRightsMask);
(IN) Specifies the file object (as returned by zOpen or zCreate) whose inherited rights mask will be set.
(IN) Specifies the transaction to bind this request to. If the requested action is not part of a transaction, pass zNILXID.
(IN) Specifies the value the file object’s inherited rights mask should be set to (see Inherited Rights Mask Values).
zOK |
The operation completed successfully. |
non-0 |
An error occurred (see Section 4.1, Return Values for a description). |
The inherited rights mask controls which rights are inherited down the directory tree when resolving a pathname.
zAddTrustee, zClose, zCreate, zDeleteTrustee, zGetInheritedRightsMask, zGetTrustee, zOpen