The following are examples of the implications of common numbers represented by using absolute mode to modify directory permissions:
Mode
Significance
777
All users have read, write, and execute permissions on the
View Permission CommandPermission to view the directory can be ls-ld by command, or directly with Ls-la
Such as
Ls-l Www.111cn.net//Here represents view 111CN DirectoryModify Permission Command
chmod 777 filename
1.chmod 577/home/stuser-r2.umask-
Directive Name: chmod
Use Rights: All users
How to use: chmod [-CFVR] [--help] [--version] Mode file ...
Description: Linux/unix file access rights are divided into three levels: file owners, groups, others. Using chmod can
To control how the file
TAR-ZXVF//tar's Decompression command
RM-RF//Forced deletion
MV//Mobile
sudo//super user do
Installation
sudo apt-get install app-y
Unloading
sudo apt-get remove--purge app-y
Also pay attention to space
sudo update-grub//update grub for repair of
Ls-l xxx.xxx (xxx.xxx is file name)Then there will be similar messages, mostly these:
To view Linux file permissions: Ls-l file name
To view Linux folder permissions: Ls-ld folder name (in directory)
To view related parameters for file
The commands for viewing permissions under Ubuntu are:
ls-l filename
Ls-ld folderThe commands for setting permissions under Ubuntu are:
A total of 10 digits
Which: the front one-represents the type
The middle one of the three rw-represents the
Permissions to view Linux files: Ls-l file name UluitugUluitugTo view the permissions for a Linux folder: Ls-ld folder name (in directory) UluitugUluitugModify file and folder permissions: UluitugUluitugsudo chmod-(representing type) xxx (owner) xxx
Use Rights: All usersHow to use: chmod [-CFVR] [--help] [--version] Mode file ...Description: Linux/unix file access rights are divided into three levels: file owners, groups, others. The use of chmod can be used to control how files are accessed by
There are several folders under my server
You can also use Ls-l to view the permissions for these several files.
Look at the assets file, which has a total of 10 digits, of which:The front one-represents the typeThe middle three rwx represent the
One: Installation FTP1. Check if FTP is installed: (is the installed effect, no installation not shown)Rpm-qa|grep vsftpd2, Installation instructions: (Find a-y command)Yum Install-y vsftpd3. After the installation is complete, follow step 1 to see
How do I capture a packet on my Android smartphone?This article by csdn-蚍蜉 Shake Pine "Homepage: HTTP://BLOG.CSDN.NET/HOWEVERPF" original, reprint please indicate the source!The current Android system is becoming more and more popular, whether for
1. How to open the terminalUbuntu in the left column of the first "Panel home page (you can press the win key to recall), in the input terminal can open the terminal, in addition to open the Terminal shortcut key is Ctrl+alt+t2. Modify user
View Permissions[Ruby]View PlainCopy
In Terminal input:
Ls-l xxx.xxx (xxx.xxx is the file name)
Then there will be similar messages, mostly these:
-rw-rw-r--
[Ruby]View PlainCopy
Which: the front one-represents
Commands to view file permissions:In Terminal input:Ls-l xxx.xxx (xxx.xxx is the file name)Then there will be similar messages, mostly these:-rw-rw-r--A total of 10 digitsWhich: the front one-represents the typeThe middle three rw-represents the
View Directory PermissionsTo view file permission statements:In Terminal input:Ls-l xxx.xxx (xxx.xxx is the file name)Then there will be similar messages, mostly these:-rw-rw-r--A total of 10 digitsWhich: the front one-represents the typeThe middle
Study site: http://www.runoob.com/linux/linux-command-manual.html1, the Linux CD command is used to switch the current working directory to dirName (directory parameters).Where dirName notation can be either an absolute path or a relative path. If
Permission descriptions for Linux filesThe permission bits of a Linux file or directory are controlled by 9 permission bits, each of which is a set of three bits, which are the read, write, execute, read, write, execute, read, write, execute, and
To view file permission statements:In Terminal input:Ls-l xxx.xxx (xxx.xxx is the file name)Then there will be similar messages, mostly these:-rw-rw-r--A total of 10 digitsWhich: the front one-represents the typeThe middle three rw-represents the
Source: Internet anonymous time: 05-01 20:46:07 "Big Small"In Linux to modify the permissions of a folder or file we need to use the Linux chmod command to do, below I wrote a few simple examples you can refer toSyntax: chmod [who] [+ |-| =] [mode]
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.