groupWrite
TypeScriptget groupWrite(): FilePermissionsSwift declarationstatic var groupWrite: FilePermissions { get }Indicates that the group has write-only permission.
struct · iOS 14.0+ · SDK 27.1
@frozen struct FilePermissionsThe access permissions for a file. The following example creates an instance of the `FilePermissions` structure from a raw octal literal and compares it to a file permission created using named options: let perms = FilePermissions(rawValue: 0o644) perms == [.ownerReadWrite, .groupRead, .otherRead] // true
get groupWrite(): FilePermissionsSwift declarationstatic var groupWrite: FilePermissions { get }Indicates that the group has write-only permission.
get otherWrite(): FilePermissionsSwift declarationstatic var otherWrite: FilePermissions { get }Indicates that other users have write-only permission.
get ownerWrite(): FilePermissionsSwift declarationstatic var ownerWrite: FilePermissions { get }Indicates that the owner has write-only permission.
get setGroupID(): FilePermissionsSwift declarationstatic var setGroupID: FilePermissions { get }Indicates that the file is executed as the group. For more information, see the `setgid(2)` man page.
getDescription($self: FilePermissions): stringSwift declarationvar description: String { get }A textual representation of the file permissions.
get groupExecute(): FilePermissionsSwift declarationstatic var groupExecute: FilePermissions { get }Indicates that the group has execute-only permission.
get otherExecute(): FilePermissionsSwift declarationstatic var otherExecute: FilePermissions { get }Indicates that other users have execute-only permission.
get ownerExecute(): FilePermissionsSwift declarationstatic var ownerExecute: FilePermissions { get }Indicates that the owner has execute-only permission.
get groupReadWrite(): FilePermissionsSwift declarationstatic var groupReadWrite: FilePermissions { get }Indicates that the group has read-write permission.
get otherReadWrite(): FilePermissionsSwift declarationstatic var otherReadWrite: FilePermissions { get }Indicates that other users have read-write permission.
get ownerReadWrite(): FilePermissionsSwift declarationstatic var ownerReadWrite: FilePermissions { get }Indicates that the owner has read-write permission.
getDebugDescription($self: FilePermissions): stringSwift declarationvar debugDescription: String { get }A textual representation of the file permissions, suitable for debugging.
get groupReadExecute(): FilePermissionsSwift declarationstatic var groupReadExecute: FilePermissions { get }Indicates that the group has read-execute permission.
get otherReadExecute(): FilePermissionsSwift declarationstatic var otherReadExecute: FilePermissions { get }Indicates that other users have read-execute permission.
get ownerReadExecute(): FilePermissionsSwift declarationstatic var ownerReadExecute: FilePermissions { get }Indicates that the owner has read-execute permission.
get groupWriteExecute(): FilePermissionsSwift declarationstatic var groupWriteExecute: FilePermissions { get }Indicates that the group has write-execute permission.
get otherWriteExecute(): FilePermissionsSwift declarationstatic var otherWriteExecute: FilePermissions { get }Indicates that other users have write-execute permission.
get ownerWriteExecute(): FilePermissionsSwift declarationstatic var ownerWriteExecute: FilePermissions { get }Indicates that the owner has write-execute permission.
get groupReadWriteExecute(): FilePermissionsSwift declarationstatic var groupReadWriteExecute: FilePermissions { get }Indicates that the group has read, write, and execute permission.
get otherReadWriteExecute(): FilePermissionsSwift declarationstatic var otherReadWriteExecute: FilePermissions { get }Indicates that other users have read, write, and execute permission.
get ownerReadWriteExecute(): FilePermissionsSwift declarationstatic var ownerReadWriteExecute: FilePermissions { get }Indicates that the owner has read, write, and execute permission.
init(rawValue: SDKHandle): FilePermissionsSwift declarationinit(rawValue: CModeT)Create a strongly-typed file permission from a raw C value.
getRawValue($self: FilePermissions): SDKHandleSwift declarationlet rawValue: CModeTThe raw C file permissions.
get saveText(): FilePermissionsSwift declarationstatic var saveText: FilePermissions { get }Indicates that executable's text segment should be kept in swap space even after it exits. For more information, see the `chmod(2)` man page's discussion of `S_ISVTX` (the sticky bit).
get groupRead(): FilePermissionsSwift declarationstatic var groupRead: FilePermissions { get }Indicates that the group has read-only permission.
get otherRead(): FilePermissionsSwift declarationstatic var otherRead: FilePermissions { get }Indicates that other users have read-only permission.
get ownerRead(): FilePermissionsSwift declarationstatic var ownerRead: FilePermissions { get }Indicates that the owner has read-only permission.
get setUserID(): FilePermissionsSwift declarationstatic var setUserID: FilePermissions { get }Indicates that the file is executed as the owner. For more information, see the `setuid(2)` man page.
No declarations were skipped in this snapshot.