Re: [問題] 檔案權限後面多一個點

看板Linux作者時間15年前 (2010/06/28 11:48), 編輯推噓1(100)
留言1則, 1人參與, 最新討論串2/2 (看更多)
※ 引述《Adama (So Say We All.)》之銘言: : Debian squeeze : 剛發現從別的分割區copy過來的目錄(media),在檔案權限後多了一個點 : 可是用 cp -a media media2 時那個點就不見了 : drwxr-xr-x. 3 adama adama 4096 Jun 19 05:03 media : drwxr-xr-x 3 adama adama 4096 Jun 19 05:03 media2 : 想請問這個點代表什麼意思? @@ 可以先 ls -lZ 看看,再參考: GNU ls uses a ‘.’ character to indicate a file with an SELinux security context, but no other alternate access method. http://www.gnu.org/software/coreutils/manual/coreutils.html#ls-invocation FC11 - whats the new trailing dot in the perms field from ls -la http://forums.fedoraforum.org/showthread.php?t=226629&highlight=selinux [SOLVED] What is the dot at the end of ls permissions... http://ubuntuforums.org/showthread.php?t=1314425 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.114.64.130 ※ 編輯: liyih 來自: 140.114.64.130 (06/28 11:51)

06/28 14:31, , 1F
感謝!我是從fedora拷到debian,ls -lZ的確是selinux label
06/28 14:31, 1F
文章代碼(AID): #1CA1kdwT (Linux)
文章代碼(AID): #1CA1kdwT (Linux)