1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

chmodがすぐに理解できる表

Posted at

すぐに理解できる表と使い方

  自分 グループ その他
Read(読み) 4点 4点 4点
Write(書き) 2点 2点 2点
Execute(実行) 1点 1点 1点
  • この表の縦の合計を第1引数にする

  • file.txtに、自分は全ての権限、それ以外は読み取りのみの権限を与えたい
$ chmod 744 file.txt
  • 自分:$7 = 4 + 2 + 1$
  • グループ:$4 = 4 + 0 + 0$
  • その他:$4 = 4 + 0 + 0$
1
1
0

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
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?