開發工具

Unix Permission Calculator

勾選 read/write/execute,計算 755、644 與 rwxr-xr-x 權限。

Owner
Group
Others

權限結果

Numeric permission

755

Symbolic permission

rwxr-xr-x

常見寫法

chmod 755 path/to/file

Unix Permission Calculator

Unix Permission Calculator 可用勾選方式計算 owner、group、others 的 read、write、execute 權限,並支援輸入 numeric permission 反向產生 symbolic permission。

如何使用

  1. 1 勾選 Owner、Group、Others 的權限。
  2. 2 或輸入三位 numeric permission。
  3. 3 複製 chmod 結果。

公式

read = 4,write = 2,execute = 1,各群組加總後形成三位 numeric permission。

範例

Owner rwx、Group r-x、Others r-x 會得到 numeric 755 與 symbolic rwxr-xr-x。

常見問題

755 是什麼意思? +

755 代表 owner 有 rwx 權限,group 和 others 有 r-x 權限,常見於可執行目錄或腳本。

644 常用在哪裡? +

644 代表 owner 可讀寫,group 和 others 只讀,常見於一般檔案。

這個工具會修改伺服器檔案嗎? +

不會。它只在瀏覽器中計算權限文字,不會連接或修改任何伺服器。

相關工具