作者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