Access to UNIX files and directories can be viewed as a 3*3 matrix.
That is, three access objects (owner, groups, and others are the owner, user group, and others). Each object has three access permissions (read, write, and execute ).
The Binary
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
For details about chmod parameters and usage-command for setting file folder permissions: chmod [-cfvR] [-- help] [-- version] mode file... note: file access permissions for Linux/Unix are classified into three levels: file owner, group, and others.
I. Interpretation of file permissionsAs shown, the beginning of the-rwxrw-r--string identifies the file permissions.This string has 10 bits, which can be divided into 4 segments to interpret. Note: r--readable, w--writable, x--executable.The first
Chmod is the right to change a file Chown is the owner and genus of the modified file Chgrp only the genus group that changed the file.I. Interpretation of file permissionsAs shown, the beginning of the-rwxrw-r--string identifies the file
Article Title: tip: Use the chmod command in Linux to change permissions. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and
Change permission Properties command chmodchmod (change mode)-change-file access permissionschmod is a command used to change the permissions of a file or directory, but only the owner and Superuser root of the file have this permission. There are
In linux, the chmod command for changing file permissions 1. chmod is the command for changing file permissions in linux. common commands include: (1) sudochmodu + x (2) sudochmodg + x (3) in sudochmodo + x, u, g, and o represent user, group, others,
In linux, the chmod command for changing file permissions 1. chmod is the command for changing file permissions in linux. Common Commands include: (1) sudo chmod u + x (2) sudo chmod g + x (3) sudo chmod o + x where u, g, and o represent user, group,
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.