我的 Mac 有文件夹 Shared 和 Public 文件夹。他们的权限是 drwxr-xr-x+(公共(public))和 drwxrwxrwt@(共享)。符号 + 和 @ 是什么意思?
最佳答案
@ 表示有“扩展属性”。类型
ls -l@
看看它们是什么。使用该命令,后面带有@ 的所有内容都会有一些额外的行来解释为什么它有@。根据我的经验,@ 通常意味着将使用默认应用程序以外的应用程序打开文件(即,它可能使用与您习惯不同的文本编辑器打开),或者有时它的编码与$LANG 指定的默认值。
从“ls”的手册页:
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, the permissions field printed by the -l option is followed by a '+' character.
关于macos - 文件权限标志 @ 和 + 的用途是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/477050/