V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
hzlzh
63.67D
V2EX  ›  macOS

Linux 文件权限-rw-r--r--后面那个@,什么意思?

  •  
  •   hzlzh ·
    PRO
    · Dec 16, 2011 · 18430 views
    This topic created in 5248 days ago, the information mentioned may be changed or developed.
    mac > ls

    -rw-r--r--@ 1 root wheel 11K Dec 16 13:19 1.txt
    -rw-r--r-- 1 root wheel 996B Oct 13 10:54 2.txt

    第一行那个 @ 什么意思?
    6 replies    1970-01-01 08:00:00 +08:00
    hzlzh
        2
    hzlzh  
    OP
    PRO
       Dec 16, 2011
    @levn 多谢,原来是下载自Internet 的文件会有这个后缀,但新的问题来了,我打开了这个文件,并没有像其他app那样提示我来源于互联网的警告,而且@ 依然还在,我再查查。试试 xattr
    hzlzh
        3
    hzlzh  
    OP
    PRO
       Dec 16, 2011
    @levn 搞定,去掉了。

    >xattr -l 1.plist
    com.macromates.selectionRange: 39:32
    >xattr -d com.macromates.selectionRange 1.plist
    >ls -l
    shanderlam
        4
    shanderlam  
       Dec 16, 2011
    这些应该是textmate用到的信息吧
    kongruxi
        5
    kongruxi  
       Dec 16, 2011
    截屏保存下来的图像文件也有啊
    shanderlam
        6
    shanderlam  
       Dec 17, 2011
    我说的是他删掉的那个信息是textmate写入的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1307 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 17:23 · PVG 01:23 · LAX 10:23 · JFK 13:23
    ♥ Do have faith in what you're doing.