Chmod 計算機

視覺化 chmod 指令建構器,含權限矩陣、特殊權限(setuid/setgid/sticky)、預設範本和多種輸出格式

所有處理皆在瀏覽器中完成,不會上傳任何資料。
Offline Ready

Chmod 計算機

視覺化 chmod 指令建構器,含權限矩陣、特殊權限(setuid/setgid/sticky)、預設範本和多種輸出格式

🔒所有處理皆在瀏覽器中完成,不會上傳任何資料。
八進位輸入
權限矩陣
讀取寫入執行八進位
Owner (u)7
Group (g)5
Others (o)5
特殊權限
設定使用者 ID (SUID) (4)以檔案擁有者身分執行,而非執行者本身
設定群組 ID (SGID) (2)以檔案群組身分執行;新檔案繼承目錄群組
Sticky Bit (1)只有檔案擁有者可以刪除/重新命名目錄中的檔案
結果
數字(八進位)
0755
符號表示
rwxr-xr-x
ls -l 輸出
-rwxr-xr-x
chmod(數字)
chmod 755 myfile
chmod(符號)
chmod u=rwx,g=rx,o=rx myfile
權限明細
OwnerGroupOthers
-rwxr-xr-x
常用預設
755
Directories, executables
644
Regular files
777
Full access (caution)
600
Private files (SSH keys)
400
Read-only private
700
Private directory
664
Shared group files
775
Shared group directory
444
Read-only for all
666
Read-write for all
2755
Setgid directory
4755
Setuid executable
1777
Sticky bit (/tmp)
1755
Sticky + standard dir