NSWorkspace.AuthorizationType.replaceFile
Authorization for the app to perform an atomic file write without changing the target file’s permissions.
Declaration
case replaceFileDiscussion
Signifies that the user has granted authorization for replaceItem(at:withItemAt:backupItemName:options:resultingItemURL:). When you use a FileManager with this authorization, the file manager ignores the backupItemName and options parameters.