2.2.13.1 SMB2 Access Mask Encoding
The SMB2 Access Mask Encoding in SMB2 is a 4-byte bit field value that contains an array of flags. An access mask can specify access for one of two basic groups: either for a file, pipe, or printer (specified in section 2.2.13.1.1) or for a directory (specified in section 2.2.13.1.2). Each access mask MUST be a combination of zero or more of the bit positions that are shown below.