zSetInheritedRightsMask

Sets the inherited rights mask for the given file object.

Service:File System Services (64-Bit)
Version:OES 2

Syntax

#include <zPublics.h>
  
STATUS zSetInheritedRightsMask(
   Key_t  key,
   Xid_t  xid,
   LONG   inheritedRightsMask);

Parameters

key

(IN) Specifies the file object (as returned by zOpen or zCreate) whose inherited rights mask will be set.

xid

(IN) Specifies the transaction to bind this request to. If the requested action is not part of a transaction, pass zNILXID.

inheritedRightsMask

(IN) Specifies the value the file object’s inherited rights mask should be set to (see Inherited Rights Mask Values).

Return Values

zOK

The operation completed successfully.

non-0

An error occurred (see Section 4.1, Return Values for a description).

Remarks

The inherited rights mask controls which rights are inherited down the directory tree when resolving a pathname.

See Also

zAddTrustee, zClose, zCreate, zDeleteTrustee, zGetInheritedRightsMask, zGetTrustee, zOpen