1. Users and Groups
: User|group|others
User Information file:/etc/passwd/
User Management files:/etc/shadow/
Group information file:/etc/group/
2. File permissions
1.linux file Properties
Example: Drwxr-xr-x. 2 WXC wxc 6 March 29 20:00 Public
1. The first character represents the meaning:
Catalog D
- Archives
L Connection file
b Appliance file is available for storage interface block
C Appliance file serial port device character
2. The following characters:
rwx rwx rwx
File Owner Permissions
Group permissions
Other people permissions
2. How to change file properties and permissions
CHGRP Change the file group
Chgrp Root Home
Chown Change file owners and groups
Chown User:root Home
Subdirectories are changed:-R
chmod Change the permissions of the file, Suid,sgid,sbit
chmod 4777 Home
3. Contents and archives of the meaning of the Authority
1. To the Archives: rwx
Readable, writable, executable;
2. To the directory: rwx
Readable, modifiable (documents within the directory), accessible;
-------------------------------
More information can be viewed using Man |
-------------------------------
This article is from the "8408201" blog, please be sure to keep this source http://8418201.blog.51cto.com/8408201/1679951
Linux File Permissions Basics