LoginSignup
12
11

More than 5 years have passed since last update.

パーミッション早見表

Last updated at Posted at 2014-06-13

r 4 読出可能(read)
w 2 書込可能(write)
x 1 実行可能(execute)

本人 / グループ / 他人 の順で。

パーミッションと関係があるものでumaskというものがあります。これは0002などの数値で、ファイル及びディレクトリ作成時のデフォルトパーミッションを規定します。

  • ディレクトリ : 0777 - umask値 = 0775
  • ファイル : 0666 - umask値 = 0664

がデフォルト値となります。umask値は、

$ umask

で確認できます。

12
11
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
12
11