In a LUnix system, the authority of a file or directory is managed by the owner and the group in which it is sued. You can use the CHGRP instruction to change the file to the group that the directory belongs to, either by group name or group
Change the user group to which the chgrp file belongs. you can use chgrp to change the user group. This command is short for changegroup (change user group. This makes it easy to remember. However, remember that the name of the user group to be
In the LUnix system, the control of the permissions of a file or directory is managed by the owner and the group being sued. You can use the CHGRP command to change the file and directory to belong to the group, this way with the group name or group
Chown commandChown is a command used to set file owners and file associations in Unix systems. Super User Permissions are required to execute this command. OnlyOnly the file owner of a Super User and a group can change the file association group.
CentOS command to change the user group (chgrp) to which the file folder belongs
Change the user group to which the chgrp belongs.
It is easy to change the user group of a file. Use chgrp directly. This command is short for change group. This makes
Each file and directory in a Linux system has access permission to determine who can access and manipulate files and directories in any way.
File or directory access is divided into read-only, write-only and executable three kinds. In the case of a
Each file and directory in a Linux system has access permissions, which are used to determine who can access and manipulate files and directories.Access to a file or directory is divided into read-only, write-only, and executable three types. As an
It is easy to change the user group of a file. use chgrp directly. This command is the abbreviation of changegroup (change user group. This makes it easy to remember.
It is easy to change the user group of a file. use chgrp directly. This command is
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
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.