a11y.skipToMainContent
1

チャンモ計算機

所有者、グループ、およびパブリック権限のチェックボックスをトグルして、オクタル値、記号表記、およびchmodコマンドを即座に確認します.

---
ReadWriteExecuteValue
Owner7
Group6
Public5
Octal
755
Command
chmod 755 filename
rwxr-xr-x
Was this tool helpful?
Send output to:
Advertisement

How to use Chmod Calculator

  1. 所有者、グループ、公共のボックスの読み取り、書き込み、および実行をチェックまたはチェック解除します.
  2. Octal 結果と対応する chmod コマンドを読み込みます.
  3. Copyボタンをクリックすると、chmodコマンドをクリップボードにコピーします.

チャンモ計算機とは?

Chmod (change モード) は、 octal (base-8) 番号を使用してファイル権限を設定する Linux/Unix コマンドです。 各桁は、所有者、グループ、その他(公開) の権限を設定します。 各数字は、読み取り(4)、書き込み(2)、実行(1)の合計です。 例えば、755 は所有者のフルアクセスと、他の read+execute.

をすべて与えます。 この対話式計算機を使用すると、権限を視覚的に切り替え、正確なchmodコマンドをコピーできます。 開発者がWebサーバーの許可、sysadminsの設定ファイルアクセス、Unixの許可を学習するのに理想的です。

Advertisement

FAQ

オクタル数字はどういう意味ですか?
各数字 (0-7) は 3 つのパーミッション ビットを合計します。Read=4, Write=2, Execute=1 です。 例えば、7 = 4+2+1 (フルアクセス)、5 = 4+0+1 (read+execute)、6 = 4+2+0 (read+write).
Chmod 755はどういう意味ですか?
所有者は read+write+execute を取得します。 (7), グループは read+execute を取得します。 (5), パブリック 取得 read+execute (5). これは、ディレクトリと実行ファイルに対する共通の許可です.
Chmod 644はどういう意味ですか?
所有者は read+write (6) を取得します。, グループは読み取り専用 (4), パブリックは読み取り専用を取得します。 (4). これは、文書や画像などの定期的なファイルのための標準的な許可です.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

Advertisement