Permissions
public struct Permissions : OptionSet
Represents file access permissions in UNIX format.
-
Raw bit flags value (in decimal).
Declaration
Swift
public let rawValue: UInt32
-
Initializes permissions with bit flags in decimal.
Declaration
Swift
public init(rawValue: UInt32)
-
Set UID.
Declaration
Swift
public static let setuid: Permissions
-
Set GID.
Declaration
Swift
public static let setgid: Permissions
-
Sticky bit.
Declaration
Swift
public static let sticky: Permissions
-
Owner can read.
Declaration
Swift
public static let readOwner: Permissions
-
Owner can write.
Declaration
Swift
public static let writeOwner: Permissions
-
Owner can execute.
Declaration
Swift
public static let executeOwner: Permissions
-
Group can read.
Declaration
Swift
public static let readGroup: Permissions
-
Group can write.
Declaration
Swift
public static let writeGroup: Permissions
-
Group can execute.
Declaration
Swift
public static let executeGroup: Permissions
-
Others can read.
Declaration
Swift
public static let readOther: Permissions
-
Others can write.
Declaration
Swift
public static let writeOther: Permissions
-
Others can execute.
Declaration
Swift
public static let executeOther: Permissions