User Tools

Site Tools


Extendend Attributes


  • List them with ls -L -@
  • Show details and change them with xattr

File Quarantine is a new feature in Leopard designed to protect users from trojan horse attacks. It allows applications which download file content from the Internet to place files in “quarantine” to indicate that the file could be from an untrustworthy source. An application quarantines a file simply by assigning values to one or more quarantine properties which preserve information about when and where the file come from.

When the Launch Services API is used to open a quarantined file and the file appears to be an application, script, or other executable file type, Launch Services will display an alert to confirm the user understands the file is some kind of application.
(Source: Apple Developer)

The hex number is a date which can be decoded with the date command:

~ $ ls -l -@ Filename
-rw-------@ 1 user  staff  0 Oct  7 05:18 Filename    30 
~ $ xattr -p Filename
~ $ date -r 0x59d84776                 
Sat Oct  7 05:18:14 CEST 2017
~ $


OSX extended attributes xattr

docs/tips_n_tricks/max_os_x/extended_attributes.html.txt · Last modified: 07.10.2017 14:26 CEST by peter