Instance Method

filePosixPermissions

Returns the file’s POSIX permissions.

Declaration

- (NSUInteger)filePosixPermissions;

Return Value

The the value for the NSFilePosixPermissions file attributes key as an unsigned long, or 0 if the file attributes dictionary has no entry for the key.

See Also

Accessing File Attributes

- fileSize

Returns the file’s size, in bytes.

- fileType

Returns the file type.

- fileCreationDate

Returns the file’s creation date.

- fileModificationDate

Returns file’s modification date.

- fileOwnerAccountID

Returns the file’s owner account ID.

- fileOwnerAccountName

Returns the file’s owner account name.

- fileGroupOwnerAccountID

Returns file’s group owner account ID.

- fileGroupOwnerAccountName

Returns the file’s group owner account name.

- fileExtensionHidden

Returns a Boolean value indicating whether the file hides its extension.

- fileIsImmutable

Returns a Boolean value indicating whether the file is immutable.

- fileIsAppendOnly

Returns a Boolean value indicating whether the file is append only.

- fileSystemFileNumber

Returns the filesystem file number.

- fileSystemNumber

Returns the filesystem number.

- fileHFSTypeCode

Returns file’s HFS type code.

- fileHFSCreatorCode

Returns the file’s HFS creator code.