UNIXファイル権限ビット一覧

chmodで使う基本権限ビットと特殊ビットを、8進表記・記号・意味で整理した非公開検証用データ。

データ基準日: POSIX.1-2017 ファイル更新: 2026-06-18 行数: 11 列数: 6 出典: The Open Group chmod utility
更新履歴(1回)
  • 2026-06-18T09:29:23+09:00 / 11行 / 新規作成:UNIX権限ビット表
操作
元CSVをダウンロード
列表示ON/OFF
読み込み中...
octal symbolic bit_name applies_to meaning_ja example
0 --- none user/group/other 読み書き実行の権限なし chmod 000 file
1 --x execute user/group/other 実行またはディレクトリ探索を許可 chmod 111 file
2 -w- write user/group/other 書き込みを許可 chmod 222 file
3 -wx write+execute user/group/other 書き込みと実行を許可 chmod 333 file
4 r-- read user/group/other 読み取りを許可 chmod 444 file
5 r-x read+execute user/group/other 読み取りと実行を許可 chmod 555 file
6 rw- read+write user/group/other 読み取りと書き込みを許可 chmod 666 file
7 rwx read+write+execute user/group/other 読み取り・書き込み・実行を許可 chmod 777 file
1000 t/T sticky directory 共有ディレクトリで削除を所有者等に制限 chmod +t dir
2000 s/S setgid file/directory 実行時グループIDまたはディレクトリ継承を制御 chmod g+s path
4000 s/S setuid file 実行時ユーザーIDをファイル所有者にする chmod u+s file