Alibabacloud.com offers a wide variety of articles about unix file permissions octal, easily find your unix file permissions octal information here online.
Basic file permissions in Linux every file in Linux is associated with multiple permission types. Among these permissions, we mainly deal with three types of permissions: user, user group, and other users (others ). A user is the owner of a file. A
personal Learning and collation, if there are deficiencies, please feel free. Reprint Please specify:@CSU-maxFile Descriptor Each UNIX process has a file descriptor range with a size of 0 to the maximum value of the N,N flag file descriptor, and
In unix and linux, the chmod command is used to change the permissions of files and directories. This is a must for unix and linux users to be familiar with many
In unix and linux, the chmod command is used to change the permissions of files and
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
ChmodIs a Command Used in UNIX systems to control the user's permissions on files (ChAngeMoDA combination of e-word prefixes) and functions. Only the file owner and the Super User can modify the file or directory permissions. You can use absolute
Full file rights
Show all rights to a file
Change the full rights of a file
Permissions for files
Permissions to change files
Change with symbolic notation
Change with digital notation
Grammar
chmod (file,mode) parameter description
File required. Specifies the documents to be inspected.
mode is optional. Specify the new permissions.
The mode parameter consists of 4 numbers:
The first number is always 0.
The second number
Use the LS-l command, such as the following:Total 74434-Rwxrwxr-x 2 user DBA 39921 January 16 12:50 file1Drwxrwxr-x 2 user DBA 4096 January 16 15:29 folderTotal 74434 indicates the space occupied by all files in the directory2 indicates the number
Grammar
chmod (file,mode) parameter description
File required. Specify the files to be inspected.
mode is optional. Specify the new permissions.
The mode parameter consists of 4 digits:
The first number is always 0.
The second number stipulates the
UNIX file and directory Access can be viewed as a form of a 3*3 matrix.
That is, three Access objects (owner,groups,others, user groups, others), each with three access rights (Read,write,execute read, write, execute).
111 binary means 7,100 is 4 if
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.