本文へスキップ

Chmod計算機

開発者ツール

rwxチェックボックスから8進数と記号表記に変換

回答概要

Chmod Calculator: rwx checkboxes to octal and symbolic notation. r = 4, w = 2, x = 1; sum per group → octal digit.

入力方式:
755 ⇄ rwxr-xr-x
u=rwx,g=r-x,o=r-x
所有者 urwx
ユーザーグループ gr-x
その他の人 or-x
2進数111 101 101

8進数換算原理

  1. 1r=4、w=2、x=1、各数字=有効ビットの合計。rwx=7、r-x=5、r--=4。
  2. 2For 755: owner=7(rwx), group=5(r-x), others=5(r-x).
  3. 3Command: chmod 755 file or chmod u=rwx g=r-x o=r-x file

よく使うプリセット(クリックで入力)

644Regular file: owner rw, others r
755Executable/dir: owner rwx, others rx
600Private: owner only (e.g. keys)
700Private dir: owner only
666World rw (dangerous)
777World rwx (never in production)
400Read-only: protect from edits
640Owner rw + group r
安全原則:サーバー上で絶対に777を使わない。ウェブファイル644、ディレクトリ755、SSH秘密鍵600、.sshディレクトリ700。特殊ビット(setuid/setgid/sticky)が第4ビットを構成:4755、2755、1777(/tmp)。

このツールはお役に立ちましたか?

使い方

  1. Paste or type content: drop code/text into the Chmod Calculator or fill the parameters.
  2. Choose mode/options: switch format, rules or processing as needed.
  3. Live output: results appear instantly — nothing is submitted, data stays in your browser.
  4. One-click copy: copy the output straight into your development environment.

主なポイント

  • Chmod Calculator is a free online developer tool — open and use, no sign-up.
  • All calculations run locally in your browser; your data never leaves the device.
  • Key capability: rwx checkboxes to octal and symbolic notation.
  • Results come with formulas and reference tables so you can verify every number.

原理と計算式

Unix permissions

r = 4, w = 2, x = 1; sum per group → octal digit
Groups: owner | group | others
Common: 755 dirs/scripts, 644 files, 600 private keys, 700 private dirs; avoid 777

よくある質問

How do I use the Chmod Calculator?
Open the page and fill in the input fields — results update automatically. rwx checkboxes to octal and symbolic notation.
Are the results accurate?
Yes. Standard formulas and conversion factors are used and verified.
Is it free? Do I need to sign up?
Completely free. No registration, login or download required.
Does it work on mobile?
Yes. The responsive design works on phones, tablets and desktops.
Is my data saved?
No. Everything runs locally in your browser.

関連ツール

関連ガイド

出典と更新情報

Based on RFC 4648, ECMA-262 and related specifications. Last updated: 2025-07

最終更新日:

このページの計算式と内容はYiJianSuanチームにより確認されています。学習参考用であり、実際の業務では公式の発表を優先してください。

内容はYiJianSuan編集チームにより維持管理され、定期的に確認されています。更新・審査プロセスはこちら編集ポリシー.

このページを引用: YiJianSuan. Chmod計算機[EB/OL]. https://www.yijiansuan.com/ja/c/dev/chmod

本ツールが提供する結果は参考用であり、専門的な助言を構成するものではありません。公式の計算結果を優先してください。