FilePermissions
The access permissions for a file.
Declaration
@frozen struct FilePermissionsOverview
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