IT博客汇
  • 首页
  • 精华
  • 技术
  • 设计
  • 资讯
  • 扯淡
  • 权利声明
  • 登录 注册

    osx文件权限中的@和+

    wingyiulee发表于 2015-01-05 13:29:01
    love 0

    If the file or directory has extended attributes, the permissions field printed by the -l option is followed by a ‘@’ character.
    Otherwise, if the file or directory has extended security information (such as an access control list), the permissions field printed by the -l option is followed by a ‘+’ character.

    显示文件[夹]:
    chflags nohidden ~/Library
    如想隐藏,可以在终端中执行命令:
    chflags hidden ~/Library

    -rw-------@   1 wingyiu  staff  626164 Aug 12  2013 Bookmarks.bak
    drwxr-xr-x+   3 wingyiu  staff     102 Jan  2 20:09 Desktop
    drwxr-xr-x+  34 wingyiu  staff    1156 Dec 24 19:11 Documents
    drwx------+ 278 wingyiu  staff    9452 Jan  5 20:20 Downloads
    drwxr-xr-x   34 wingyiu  staff    1156 Dec 23 23:40 Git
    drwxr-xr-x   87 wingyiu  staff    2958 Dec 30 23:50 Github
    drwx------+  70 wingyiu  staff    2380 Jan  3 17:17 Library
    drwx------+   4 wingyiu  staff     136 Jan  2 20:57 Movies
    drwx------+   7 wingyiu  staff     238 Oct  7  2013 Music
    drwx------+ 252 wingyiu  staff    8568 Jan  5 19:57 Pictures
    drwxr-xr-x+   4 wingyiu  staff     136 Sep 28  2012 Public
    

    The post osx文件权限中的@和+ appeared first on wingyiu.



沪ICP备19023445号-2号
友情链接