http://technet.microsoft.com/en-au/library/bb490872.aspx (英文)
http://www.wretch.cc/blog/jerry0822/15491939 (中文)
列出 Windows 目錄及檔案的權限
Command example: cacls c:\temp /t /c > c:\acl-temp.txt
/t: 含子目錄的所有檔案
/c: 發生錯誤仍繼續
執行結果的權限對照表
Output | ACE applies to |
OI | This folder and files |
CI | This folder and subfolders |
IO | The ACE does not apply to the current file/directory. |
No output message | This folder only |
(IO)(CI) | This folder, subfolders and files |
(OI)(CI)(IO) | Subfolders and files only |
(CI)(IO) | Subfolders only |
(OI)(IO) | Files only |
這個指令也可以用來修改目錄及檔案的權限,操作方法請看 Microsoft 說明。
沒有留言:
張貼留言