Linux
Linux under All files, each file permissions are the main, belong to the group, the other three identities, each identity has read, write, excute settings
Account configuration file:/etc/passwd
Password configuration file:/etc/shadow
Group configuration file:/etc/group
Modify the system default language:/etc/sysconfig/i18n modify file properties and permissions:
Chgrp: Modifying the genus Group
Chown: Modify Owner
chmod: Modify Permissions
Permissions for
File:
R: Can read the actual contents of the file, such as text file
W: can edit, add, modify the contents of the file, but does not include the deletion of the file
X: The file can be executed by the system
Directory:
R: You can read the directory structure list and display the file name data in the directory
W: can create files and directories in this directory/delete existing directories or files/move files and directories in this directory/rename
X: The user can access the directory or become a working directory permission
File type: the
Ascii
Binary binary: Binary
Data format file:
Catalog: D
Link file: L
Device files: B often in/dev/
Character device: C often in/dev/
Interface: s often in/var/run
Pipe: P
File length limit:
Single file name maximum allowable 255 characters
The full path is up to 4096 characters long
File name cannot be used for system special characters: *?<>&! []|\ ' "' () {}
This article is from the "Calm" blog, please be sure to keep this source http://6160859.blog.51cto.com/6150859/1684644
Linux Basic Learning Notes-Fifth lesson: File permissions