關於Linux 權限 - Linux

Table of Contents

請問各位大大
如何定義一個 "檔案"(如文字檔、執行檔) 在 [r--] [-w-] [--x] 三種情況下各是什麼意思
還有如果換成目錄呢,又是該如何定義呢


如果有一個ls -l 是 -rwxrwx--x root root ...... a/test.txt
ls -dl是 drwxrwx--x root root ...... a

今天使用者是"bar",它可以看到這個 test.txt 檔案內容嗎
bar 對這目錄和檔案又有哪些權限呢

最後...file的"執行檔"或"文字檔"對 "x" 有影響嗎???

謝謝各位高手!

--

All Comments

Frederica avatarFrederica2009-01-24
RTFM & UTFG
Sarah avatarSarah2009-01-27
RTFM我知道 但UTFG是啥? use the fxxking G?
Jacky avatarJacky2009-01-31
Use The Fine/Fucking Google
Candice avatarCandice2009-02-02
請洽「好男人」... :P
Charlotte avatarCharlotte2009-02-07
請上鳥哥的網站會比較清楚
Blanche avatarBlanche2009-02-11
鳥哥的網站 + 自己動手試試看