Enumeration Case

NSWorkspace.AuthorizationType.replaceFile

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

Declaration

case replaceFile = 2

Discussion

Signifies that the user has granted authorization for replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:).

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

See Also

Types of Authorization

case createSymbolicLink

Authorization for the app to create a symbolic link.

case setAttributes

Authorization for the app to change specific file attributes.