filesystem.set_zfs_attributes ============================= Set special ZFS-related file flags on the specified path `readonly` - this maps to READONLY MS-DOS attribute. When set, file may not be written to (toggling does not impact existing file opens). `hidden` - this maps to HIDDEN MS-DOS attribute. When set, the SMB HIDDEN flag is set and file is "hidden" from the perspective of SMB clients. `system` - this maps to SYSTEM MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem. `archive` - this maps to ARCHIVE MS-DOS attribute. Value is reset to True whenever file is modified. `immutable` - file may not be altered or deleted. Also appears as IMMUTABLE in attributes in `filesystem.stat` output and as STATX_ATTR_IMMUTABLE in statx() response. `nounlink` - file may be altered but not deleted. `appendonly` - file may only be opened with O_APPEND flag. Also appears as APPEND in attributes in `filesystem.stat` output and as STATX_ATTR_APPEND in statx() response. `offline` - this maps to OFFLINE MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem. `sparse` - maps to SPARSE MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem. .. raw:: html
Must be at least 1
characters long
READONLY MS-DOS attribute. When set, file may not be written to (toggling
does not impact existing file opens).
SYSTEM MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem.
ARCHIVE MS-DOS attribute. Value is reset to True whenever file is modified.
File may not be altered or deleted. Also appears as IMMUTABLE in attributes in
filesystem.stat
output and as STATXATTRIMMUTABLE in statx() response.
File may be altered but not deleted.
File may only be opened with OAPPEND flag. Also appears as APPEND in
attributes in filesystem.stat
output and as STATXATTR_APPEND in statx() response.
OFFLINE MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem.
SPARSE MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem.
READONLY MS-DOS attribute. When set, file may not be written to (toggling
does not impact existing file opens).
SYSTEM MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem.
ARCHIVE MS-DOS attribute. Value is reset to True whenever file is modified.
File may not be altered or deleted. Also appears as IMMUTABLE in attributes in
filesystem.stat
output and as STATXATTRIMMUTABLE in statx() response.
File may be altered but not deleted.
File may only be opened with OAPPEND flag. Also appears as APPEND in
attributes in filesystem.stat
output and as STATXATTR_APPEND in statx() response.
OFFLINE MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem.
SPARSE MS-DOS attribute. Is presented to SMB clients, but has no impact on local filesystem.