Enumeration Case

NSWorkspaceAuthorizationTypeReplaceFile

Authorization for the app to perform an atomic file write without changing the target file's permissions.

Declaration

NSWorkspaceAuthorizationTypeReplaceFile

Discussion

Signifies that the user has granted authorization for replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:.

When using a NSFileManager with this authorization, the backupItemName and Options are ignored.

See Also

Types of Authorization

NSWorkspaceAuthorizationTypeCreateSymbolicLink

Authorization for the app to create a symoblic link.

NSWorkspaceAuthorizationTypeSetAttributes

Authorization for the app to change specific file attributes.