Linux system different files, have different permissions. This is for security considerations when storing files, and it is also for smoother access and scheduling between Linux modules. This article introduces you to the Linux system file permissions and access mode.
Permissions
owner permissions u: operating
owner of the file can be performed
group permissions g: file belongs to a user group can perform operations
External Permissions o: (Other Permissions): What other users can do.
Viewing File Permissions
Use the ls -l command to view information related to file permissions:
$ls -l /home/amrood
- Rwxr-xr-- 1 amrood users 1024 Nov 2 00:10 myfile
drwxr-xr--- 1 amrood users 1024 Nov 2 00:10 mydir
The first column contains the files Or the permissions of the directory.
The characters in the first column can be divided into three groups, each group has three, each character represents different permissions, namely read (r), write (w) and execute (x) :
The first set of characters (2-4) indicates the permissions of the file owner, and -rwxr-xr-- indicates that the owner has read (r), write (w), and execute (x) Permissions.
The second set of characters (5-7) indicates the permissions of the user group to which the file belongs, and -rwxr-xr-- indicates that the group has read (r) and execute (x) permissions but is not written. Permissions.
The third set of characters (8-10) indicates the permissions of all other users, and rwxr-xr-- indicates that other users can only read (r) files. Previous1234Next page Total 4 pages
In the CentOS system, you need to log in when you log in to SSH. In fact, as long a
Today Xiaobian introduces you to the Linux system shutdown and restart commands, the commands involv
When compiling in the Linux environment, sometimes ld/;/usr/bin/ld:cannot find -lxx
The ping command is a command for network diagnosis in Linux system. It can check whether the networ
How does Centos build CDN server through nginx reverse proxy and proxy_cache cache
Linux system settings ssh connection interrupt time skills
What should I do if I get an error when installing LDAP on Linux under Linux?
The difference between hardware processing and software processing in Linux system
Steps for creating RPM packages for Linux systems
How to kill pscan2 Trojan under Linux?
CentOS sets the three skills of system time
How Linux prohibits specific ip address access
CentOS 5.5 prohibits single-user mode approach
How to handle Too many open files under Linux?
Win10 Mobile 14342.1004 Quick Preview Update Update Battery Life
How does Win10 fix this computer to the taskbar to enter
After Windows XP retires, Soft still needs to escort it
Win8 New Toolbar Simulation Start Menu
Win10 Mobile Redstone Preview 14295 Known Issues and Solutions
Handling the floppy drive problem from time to time
The secret of Win8 switch speed increase
Win7 system computer shutdown has been in the state of shutdown is how to do?
Win8 dual system refuses access to a disk, how to solve it??
Win10 desktop version of Skype latest version of the message shows a fault