Many users who like to use the chmod command are still not very clear about the meaning and permissions of the chmod command, so they are causing some trouble when they are used. In order to solve the confusion of these users, today Xiaobian will share the meaning and authority of the chmod command with everyone.
For a permission assignment command: sudo chmod -R 764 & times; & times; & times ;; we must understand its meaning:
(1) the meaning of each field: sudo chmod -R (Change folder and its subfolders)
7 (Owner privilege) 6 (Group user privilege) 4 (Other user privilege) xxx (Target file)
(2) First understand The following permission correspondence (execution authority letter indicates the permission meaning execution authority numerical value):
r read right 4;
w write right 2;
x execution right 1;
rwx (read, write, execute)
rw-(read, write)
. . . . . . .
(3) The origin of 7,6,4
To rwx:4+2+1=7; to rw-:4+2=6; to rx:4 +1=5
(4) Common permission commands:
The code is as follows:
sudo chmod 777 -R xxx (Change folder and its subfolders permissions to 777 )
sudo chmod 600 ××× (Only the owner has read and write permissions)
sudo chmod 644 ××× (owner has read and write Permissions, group users only have read access)
sudo chmod 700 ××× (Only the owner has read and write and execute permissions)
sudo chmod 666 ×× × (Everyone has read and write permissions)
sudo chmod 777 ××× (Everyone has read and write and execute permissions
The above is the chmod command The meaning and permissions, users who are not very familiar with the chmod command, come see these, I believe you will know more about the chmod command.
Many people have a misunderstanding that Unix systems must be attacked as technical vulnerabilities
Computer operating systems generally have their own screenshot shortcuts, and many
When importing and exporting multi-threaded Linux system, how many will contact the mydumper tool. R
mysql is a relational database management system, but recently users have reported that it is imposs
What shortcuts do Linux systems use with Visual Studio?
How does UNIX set the user ID bit?
How Linux cracks root password in single-user mode
Linux how to use vi /vim command
How to use the touch command under Linux?
How CentOS uses FPM to make RPM packages
How to open and use Win8 Game Manager
Usage of Linux global variable jiffies
What should I do if the Linux system SSH timeout is disconnected?
How to transform gedit into TextMate in Linux system
CentOS open Eclipse error Failed to load the JNI shared how to solve?
Ubuntu tips to start the deb installation package with the dpkg command
Win10 encountered a blue screen error CRITICAL_STRUCTURE_CORRUPTION how to do?
Windows 8 IE10 turns on and flashes back
SR1000 factory system changes Windows 7 system method
Win8 X86 Simplified Chinese Language Pack Installation Method
There are several ways to open the Win10 system task manager.
Windows 10 build 10136 mobile version starts testing next week
How to switch from Microsoft account to local account
Win8 February global share increased to 2.79%
Windows Xp Repair Console Detailed Usage
How to change the hosts file from Windows absolutely shields the victim website