作者chief84 (chief)
看板MAC
标题请问资料夹权限
时间Tue Apr 5 05:05:20 2011
请问资料夹权限
drwxr-xr-x@
最後面的 @ 是做什麽用的?
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 220.132.186.59
1F:→ concord:man ls: If the file or directory has extended 04/05 09:00
2F:→ concord:attributes, the permissions field printed by the -l 04/05 09:01
3F:→ concord:option is followed by a '@' character. 04/05 09:01
4F:→ concord:想看有哪些 flag 的话可以用 ls -alO 04/05 09:11
5F:→ concord:最常见的是hidden,详情请参考 man chflags 04/05 09:15
6F:推 ryanlei:我猜GUI有加颜色标签的资料夹会有 @ 04/05 10:09
7F:→ uranusjr:应该还有其他原因, 因为实在很多都有 @... 04/05 11:53
8F:→ concord:因为正常系统真的很多都是hidden故意不让你在GUI看到... 04/05 11:58
9F:推 Blueshiva:基本上,只要有"rwx之外的属性设定",都会显示@这项属性 04/05 11:58
10F:推 ducksteven:加一个 -@ 的参数会看到属性设定耶 04/05 14:47