Linuxのchmodコマンドを学習する

【コマンドの例】
[cxc@cxcserver ~]$ ll cxc.txt #現在のステータスが表示される
-rw-rw-r– 1 cxc cxc 63 Jan 2 16:48 cxc.txt
[cxc@cxcserver ~]$ chmod 777 cxc.txt #8進法でアクセス権限を変更
[cxc@cxcserver ~]$ ll cxc.txt
-rwxrwxrwx 1 cxc cxc 63 Jan 2 16:48 cxc.txt
[cxc@cxcserver ~]$ chmod a-x cxc.txt
[cxc@cxcserver ~]$ ll cxc.txt
-rw-rw-rw- 1 cxc cxc 63 Jan 2 16:48 cxc.txt
[cxc@cxcserver ~]$ chmod g-w cxc.txt
[cxc@cxcserver ~]$ ll cxc.txt
-rw-r–rw- 1 cxc cxc 63 Jan 2 16:48 cxc.txt
[cxc@cxcserver ~]$

Source

Posted by arkgame