chmod: Changing file or directory permissions
-R Recursive modification
Syntax: chmod [{ugoa}{+-=}{rwx}] [file or directory]:u:user, G: Group, O: Other person, a: everyone
Example:chmod g+rw,o+rw yum.log
chmod [mode = 421] [file or directory]
650) this.width=650; "src="/e/u261/themes/default/images/spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/ Images/localimage.png ") no-repeat center;border:1px solid #ddd;" alt= "Spacer.gif"/>
Chown: Change file or directory owner
Example: chown [user] [file or directory]
CHGRP: Changing the group to which the file directory belongs
Example: chgrp [user] [file or directory]
Umask-s: View new directory new default value
Focus:
R:4,w:2,x:1
rwx different meanings for files and directories, such as
650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/80/7A/wKiom1dCuu-hXSBcAAHPjd5Uz7o717.png "title=" Clipboard.png "alt=" Wkiom1dcuu-hxsbcaahpjd5uz7o717.png "/>
This article is from the "Tommy Lin" blog, so be sure to keep this source http://linyingyong.blog.51cto.com/6609544/1782164
Rights Management commands for Linux basic commands