Contents

filePosixPermissions()

Returns the file’s POSIX permissions.

Declaration

func filePosixPermissions() -> Int

Return Value

The value associated with the posixPermissions file attributes key as an Int (unsigned long in Objective-C), or 0 if the file attributes dictionary has no entry for the key.

See Also

Accessing File Attributes