change permissions linux directory and subdirectories
change permissions linux directory and subdirectories
Learn about change permissions linux directory and subdirectories, we have the largest and most updated change permissions linux directory and subdirectories information on alibabacloud.com
1.Ubuntu Create directory Command format: mkdir [options] directory ... Command features: The mkdir command enables you to create a directory named with the specified name at the specified location. The user who created the directory must have
1, the Linux file attributes;
The properties of a Linux file or directory mainly include: The node of the file or directory, the type, the permission mode, the number of links, the users and user groups, the time of the most recent visit or
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
One, the directory of files under LinuxSummary: The Linux file system is a hierarchical, tree- like structure in which the topmost layer of the structure is the root directory "/", and then another directory is created in this directory. A deep
In Linux , everything is files, ordinary files are files, directories are files, hardware devices are files, so learning to understand The files in Linux is very important. Linux There are three types of files in:(1) ordinary documents: also
Transferred from: http://www.linuxidc.com/Linux/2015-03/114695.htmThere are two modifications in Ubuntu that can be used, "change Mode"&"change owner"That is, chmod and chown, which can use the recursive parameter-r to change permissions for all
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
There are two modification commands that can be used, "change Mode"&"change owner"That is, chmod and chown, which can use the recursive parameter- r to change permissions for all child files and subdirectories.1, the use of chmod Modify
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
chmod (change mode) changing permissions
What do you think about permissions?
[[email protected] ~]# ls-l total usage 8-rw-r--r--. 1 root root 0 June 8 14:16 2.txt-rw-------. 1 root root 7728 June 6 22:11 anaconda-ks.cfg.1-rw-r--r--.
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.