@(at) on unix access right 是什么意思?

What does mean the @ (at) on unix access right?

我已经看过了,但似乎没有发现任何像我这样的问题。 我想知道 UNIX 存储库上的 @ (at sign) 是什么意思,如下所示:

MacBook-de-Blouz:twentyfifteen ratinahirana$ ll
total 1136
-rwxrwxrwx@  1 ratinahirana  staff  376628 28 oct  2014 screenshot.png
-rwxrwxrwx@  1 ratinahirana  staff    1313 19 nov  2014 sidebar.php
-rwxrwxrwx@  1 ratinahirana  staff     902 19 nov  2014 page.php
-rwxrwxrwx@  1 ratinahirana  staff    1765 11 déc 09:24 index.php
-rwxrwxrwx@  1 ratinahirana  staff    1914 11 déc 09:24 archive.php

注意: 我知道 777 很脏 ^^

你从ll命令(ls -l的别名)得到的@符号表示文件有extended attributes.

Wikipedia:

Extended file attributes are file system features that enables users to associate computer files with metadata not interpreted by the filesystem, whereas regular attributes have a purpose strictly defined by the filesystem (such as permissions or records of creation and modification times) [...]

您可以使用命令:xattr -l <filename>来显示这些属性。


相关links: