filesystem.mkdir ================ Create a directory at the specified path. If the requested ``mode`` cannot be applied and ``raise_chmod_error`` is set, the newly created directory is removed to prevent its use with unintended permissions. .. note:: If the chmod error is skipped, the ``mode`` key in the response will indicate the current permissions on the directory and not the permissions specified in the request payload. .. raw:: html
Directory creation options.
No Additional PropertiesPath where the new directory should be created.
Must be at least 1 characters long
Options controlling directory creation behavior.
No Additional PropertiesUnix permissions for the new directory.
Whether to raise an error if chmod fails. When it does, the newly created directory is removed to prevent its use with unintended permissions.
Information about the created directory.
No Additional PropertiesEntry's base name.
Must be at least 1 characters long
Entry's full path.
Must be at least 1 characters long
Canonical path of the entry, eliminating any symbolic links.
Must be at least 1 characters long
Type of filesystem entry.
DIRECTORY: Directory/folderFILE: Regular fileSYMLINK: Symbolic linkOTHER: Other file types (device, pipe, socket, etc.)Size of the file in bytes. For directories, this may not represent total content size. Corresonds with stx_size.
Allocated size of file. Calculated by multiplying stx_blocks by 512.
Entry's mode including file type information and file permission bits. This corresponds with stx_mode.
The mount ID of the mount containing the entry. This corresponds to the number in first field of /proc/self/mountinfo and stxmntid.
Specifies whether ACL is present on the entry. If this is the case then file permission bits as reported in mode may not be representative of the actual permissions.
User ID of the entry's owner. This corresponds with stx_uid.
Group ID of the entry's owner. This corresponds with stx_gid.
Specifies whether the entry is also the mountpoint of a filesystem.
Specifies whether the entry is located within the ZFS ctldir (for example a snapshot).
Extra file attribute indicators for entry as returned by statx. Expanded from stx_attributes.
No Additional ItemsList of xattr names of extended attributes on file.
Must be at least 1 characters long
List of extra ZFS-related file attribute indicators on file. Will be None type if filesystem is not ZFS.