Alibabacloud.com offers a wide variety of articles about linux copy with permissions, easily find your linux copy with permissions information here online.
1. Basic permissions and permissions management for users1. First of all, we want to manage user rights, we need to know how to view the permissions of a file, we can use the LL command or LS-L command to view the permissions of a file, such as:We
What is Linux file system permissions?in L each file or directory in the Inux contains access rights that determine who can access and how to access those files and directories. 650) this.width=650; "src="
What is Linux file system permissions?in L each file or directory in the Inux contains access rights that determine who can access and how to access those files and directories. 650) this.width=650; "src="
What permissions does a user have on a file or directory?Four types: Read, write, execute, no permissionsSecond, how to express these four kinds of authority?If expressed in decimal digits: 4, 2, 1, 0, respectively: R, W, x 、-。 Personally, when
File permissions 1, normal permissions(Login user's permission to read and write the file or directory)Normal permissions are not valid for administrator usersThere are 4 types of users in both files and directoriesU owner: file, directory CreatorG
Each file and directory in a Linux system has access permission to determine who can access and manipulate files and directories in any way.
File or directory access is divided into read-only, write-only and executable three kinds. In the case of a
Properties of the fileTypes of files under Linux
-: normal file
d: catalog file
b: Block device
C: character device
L: Symbolic Link file
p: piping file pipe
s: socket file Socket......
In the file
One of the best places in Linux is his multi-tasking environment. In order for each user to have more confidential file data, the rights management of the file becomes very important. Linux generally divides the identity of the file into three
The chmod command can change permissions for all subdirectories, there are 2 waysChange permissions for a file: chmod mode File|dirTo change permissions for all subdirectories: chmod mode dir-r Note that a-R parameter is appendedThe parameter is the
Three types of identities for Linux file systems
File owner
Same group of usersUsers of the same user group can access the files of the user group;Each account can be joined to multiple user groups.Files in the same user group can also
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.