Each file or directory in Linux contains access rights that determine who can access and how to access these files and directories.By setting permissions, you can restrict access by only allowing users to access them, allowing users in a
Under Linux, Web directories and file permissions must consider the security of the system as a whole. In general, for the directory, you need to set R (read) and X (execute) permissions, and some directories also need W (write permission), for
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="
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
Linux file and directory permissions are mainly controlled by the standard Linux file permissions and Control access list (ACL) two blocks. In general, standard file permissions have met most of our needs, but one of the limitations of this is that
User and user groups
Linux is a multi-user, multi-tasking operating system, in order for each user to have more confidential file data, so not see the rights management is more important. Linux file ownership and access authorization are
First of all, we know that Linux is a multi-user operating system, then the problem is, suppose I have a file called File1, this file is User user1, User1 has a project group G1, he wants his project team colleagues can view modify this file, But
Through the previous two blog we introduced the Linux system user management, Linux users and user group management of the relevant configuration file to explain the user management of the relevant configuration files, including user information
I. Basic file Permissions 1-1. Modification of basic permissions-rw-r--r---The first "-" indicates the file type (-file, D directory, l soft link file)-rw-r--r--U owner G-owned group O otherswhere R reads, W writes, X executes(1). chmod [option]
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.