Free2Box
Chmod計算機IT & 開発者ツールInstant browser workflowFocused single-task utilityNo setup required

Chmod計算機

Unixファイルパーミッションをシンボリックおよび数値表記で計算

8進数: 755シンボリック: rwxr-xr-x7/9 bits enabledコマンド755Presets8
パーミッションの説明
Toggle read, write, and execute bits for owner, group, and others, or jump directly to an octal value.
読み取り
(r)
書き込み
(w)
実行
(x)
8進数
所有者7
グループ5
その他5

8進数

755

シンボリック

rwxr-xr-x

コマンド

chmod 755 filename

一般的なプリセット
Use a common preset as a starting point, then fine-tune individual bits when the file or directory needs stricter access.

パーミッションの説明

rwxr-xr-x
所有者グループその他
シンボリック8進数パーミッションの説明
r4読み取り
w2書き込み
x1実行
rw-6読み取り + 書き込み
r-x5読み取り + 実行
rwx7読み取り + 書き込み + 実行

次に進む

関連する次のアクションでワークフローを続けます。

8進数755シンボリックrwxr-xr-xEnabled bits7/9結果成功
Privacy & Trust

Least privilege matters

Start from the minimum required access and add permissions only when the file or directory genuinely needs them.

Files and directories differ

A file often uses 644 while executable scripts or directories frequently need 755. The right default depends on how the path is used.

Client-side calculator

Permission calculations stay in the browser, which is helpful when reviewing internal deployment conventions or shell snippets locally.

Export command

Copy the octal value, symbolic string, or full `chmod` command, or download a plain-text summary.

Chmod計算機 8進数: 755 シンボリック: rwxr-xr-x コマンド: chmod 755 filename Enabled bits: 7/9

使い方

1

値を入力

入力フィールドに数値やパラメータを入力します。

2

即座に結果を取得

入力するとすぐに結果が更新されます — 送信ボタンは不要です。

3

コピーまたは保存

結果をクリップボードにコピーするか、ワークフローで活用します。

このツールを使う理由

完全無料

隠れたコストもプレミアムプランもありません — すべての機能が無料です。

インストール不要

すべてブラウザで実行されます。ソフトウェアのダウンロードやインストールは不要です。

プライベート&安全

データはデバイスの外に出ることはありません。サーバーにアップロードされることはありません。

モバイル対応

完全レスポンシブ対応 — スマートフォン、タブレット、デスクトップで利用できます。

Unix File Permissions: Understanding chmod and Access Control

Key Takeaways

  • Unix permissions use three octal digits representing read (4), write (2), and execute (1) for owner, group, and others.
  • Incorrect file permissions are a leading cause of security vulnerabilities in web servers and application deployments.
  • All permission calculations happen in your browser — no system information is accessed or transmitted.

Unix file permissions control who can read, write, and execute files and directories on Linux, macOS, and other Unix-like systems. The chmod command and its numeric notation are essential knowledge for system administrators, DevOps engineers, and anyone deploying web applications. Incorrect permissions can either lock out legitimate access or expose sensitive files to unauthorized users.

Overly permissive file permissions (777) are cited in over 20% of web server compromise investigations.

Security Impact

Key Concepts

1

Permission Triplets

Each file has three permission sets: owner (u), group (g), and others (o). Each set can have read (r=4), write (w=2), and execute (x=1). The sum gives the octal digit: rwx = 7, rw- = 6, r-x = 5.

2

Symbolic vs. Numeric Mode

Symbolic: chmod u+x file (add execute for owner). Numeric: chmod 755 file (rwx for owner, rx for group and others). Numeric mode sets all permissions at once; symbolic mode modifies specific bits.

3

Directory Permissions

For directories, read (r) allows listing contents, write (w) allows creating/deleting files, and execute (x) allows entering the directory. A common secure setting is 755 for directories and 644 for files.

4

Special Permissions

SUID (4xxx) runs a file as its owner. SGID (2xxx) runs as its group or inherits group on directories. Sticky bit (1xxx) on directories prevents users from deleting others' files (used on /tmp).

Pro Tips

Use 644 (-rw-r--r--) for regular files and 755 (drwxr-xr-x) for directories as your secure default.

Never use 777 in production — it allows anyone to read, write, and execute. Find a more restrictive permission that meets your needs.

Web server files should be owned by the web server user (www-data, nginx) with 640 or 644 permissions.

Use umask to set default permissions for newly created files — a umask of 022 results in 755 for directories and 644 for files.

All permission calculations are performed entirely in your browser. No system files or permissions are accessed or modified. This tool is for calculation and education purposes only.

よくある質問