os_file_permission
PosixFileSystemPermissionSettings
dataclass
¶
A dataclass representing file system permission-related information for Posix. The specified permission modes will be bitwise-OR'ed with the directory or file's existing permissions.
Attributes:
| Name | Type | Description |
|---|---|---|
os_user |
str
|
The target operating system user for ownership. |
os_group |
str
|
The target operating system group for ownership. |
dir_mode |
int
|
The permission mode to be added to directories. |
file_mode |
int
|
The permission mode to be added to files. |
WindowsFileSystemPermissionSettings
dataclass
¶
A dataclass representing file system permission-related information for Windows.
Attributes:
| Name | Type | Description |
|---|---|---|
os_user |
str
|
The target operating system user or ownership. |
os_group |
str
|
The target operating system group for ownership. |
dir_mode |
WindowsPermissionEnum
|
The permission mode to be added to directories. |
file_mode |
WindowsPermissionEnum
|
The permission mode to be added to files. |
WindowsPermissionEnum
dataclass
¶
Bases: Enum
An enumeration of different Windows permission flags.