Last Updated: February 25, 2016
· thomasvandoren

Disable Application Downloaded from Internet Warning in OS X Mountain Lion

To disable the warning, use the xattr delete command:

xattr -d -r /application/path/here

I downloaded Firefox from Chrome and was presented with the "application downloaded from the internet" warning every time I opened Firefox. To get rid of the warning, I ran the following command from the terminal:

sudo xattr -d -r /Applications/

The xattr command manages attributes on files. The -d flag indicates that the attribute should be deleted. The -r flag indicates that the attribute should be removed recursively from all files in the designated directory.

Thanks to Apple Forums:

2 Responses
Add your response

and how do i revert this?

over 1 year ago ·

I haven't tried to undo this operation, but something like this might work:

xattr -w <the value> <the file(s)>

This assumes the old value is known. The value can be printed with:

xattr -p <filename>

I would probably delete and re-download if I wanted the downloaded content warnings back, though.

over 1 year ago ·