2.2.1.2.1 Extended File Attribute (SMB_EXT_FILE_ATTR) Extensions
The list of extended file attributes valid in 32-bit attribute values, as specified in [MS-CIFS] section 2.2.1.2.3, has been extended to include the following attributes:
ATTR_SPARSE
ATTR_REPARSE_POINT
ATTR_OFFLINE
ATTR_NOT_CONTENT_INDEXED
ATTR_ENCRYPTED
The following table lists all possible values. Unless otherwise noted, any combination of these values is acceptable.
Name & bitmask |
Extension |
Meaning |
---|---|---|
ATTR_READONLY 0x00000001 |
No |
File is read-only. Applications cannot write or delete the file. |
ATTR_HIDDEN 0x00000002 |
No |
File is hidden. It is not to be included in an ordinary directory enumeration. |
ATTR_SYSTEM 0x00000004 |
No |
File is part of or is used exclusively by the operating system. |
ATTR_DIRECTORY 0x00000010 |
No |
File is a directory. |
ATTR_ARCHIVE 0x00000020 |
No |
File has not been archived since it was last modified. |
ATTR_NORMAL 0x00000080 |
No |
File has no other attributes set. This value is valid only when used alone. |
ATTR_TEMPORARY 0x00000100 |
No |
File is temporary. |
ATTR_SPARSE 0x00000200 |
Yes |
File is a sparse file. |
ATTR_REPARSE_POINT 0x00000400 |
Yes |
File or directory has an associated reparse point. |
ATTR_COMPRESSED 0x00000800 |
No |
File is compressed on the disk. This does not affect how it is transferred over the network. |
ATTR_OFFLINE 0x00001000 |
Yes |
File data is not available. The attribute indicates that the file has been moved to offline storage. |
ATTR_NOT_CONTENT_INDEXED 0x00002000 |
Yes |
File or directory SHOULD NOT be indexed by a content indexing service. |
ATTR_ENCRYPTED 0x00004000 |
Yes |
File or directory is encrypted. For a file, this means that all data in the file is encrypted. For a directory, this means that encryption is the default for newly created files and subdirectories. |
Reserved 0xFFFF8048 |
N/A |
SHOULD be set to zero when sending and MUST be ignored upon receipt of the message. |