8行目: | 8行目: | ||
$ chmod a=rwx file | $ chmod a=rwx file | ||
$ chmod 777 file | $ chmod 777 file | ||
$ chmod u+s file ← 誰が実行してもファイル所有者として実行される | |||
$ chmod 4755 file |
2019年2月27日 (水) 13:10時点における版
オプション
- -R
- recursive
$ chmod u+rwx,g+rx,o+rx file $ chmod 755 file $ chmod a=rwx file $ chmod 777 file $ chmod u+s file ← 誰が実行してもファイル所有者として実行される $ chmod 4755 file