MacOS Quarantine: Difference between revisions

From Virtual Humans
Jump to navigation Jump to search
Using xattr to remove quarantine restrictions
 
mNo edit summary
 
Line 6: Line 6:
Later version of macOS simply block access when the attribute is present.
Later version of macOS simply block access when the attribute is present.


This attribute can be removed by launching '''Terminal''' end entering the command
This attribute can be removed by launching '''Terminal''' and entering the command
  xattr -dr com.apple.quarantine file  
  xattr -dr com.apple.quarantine file  
This will remove the attribute from a file, or application, or all contents of a directory. Access will then be permitted unhindered.
This will remove the attribute from a file, or application, or all contents of a directory. Access will then be permitted unhindered.

Latest revision as of 18:08, 19 September 2025

macOS Quarantine

Files downloaded by macOS are tagged with an extended attribute com.apple.quarantine which will block applications from being launched.

On earlier macOS versions it was possible to use a right-click to bring up a dialogue that could bypass the quarantine.

Later version of macOS simply block access when the attribute is present.

This attribute can be removed by launching Terminal and entering the command

xattr -dr com.apple.quarantine file 

This will remove the attribute from a file, or application, or all contents of a directory. Access will then be permitted unhindered.