Linux, you can use the Chown command to modify the folder's user rights.1. Log in to Linux with normal user A, and use Su-to switch to the root user2. Under root user, you can see the contents of the folder3. But unable to open git folder through
The Chown command alters the owner of a file or directory and the group it belongs to, which can authorize a user to become the owner of the specified file or to change the group to which the file belongs.(1) Usage:usage: chown [Options] ... Owner [:
One, the use of chown and chmod commands
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,
Today to share 2 commands are also commonly used in our usual, chmod and chown seems to spell a bit similar, but the use of the two is different. Chmod is used to set folder and file permissions, such as our VPS host files can not read and write,
This command can unlock the Linux file's super-privilege limitExtract:Chown the owner of the specified file to the specified user or group, the user can be either a user name or a user ID; a group can be a group name or a group ID; a file is a space-
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
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
using Linux/unix next. Often use the text interface to set up the system or the operating system, the author is in command of this aspect of the process of continuous contact. Therefore, in order toThis special brewing, preparation, began the
In the Linux system, Chmod,chown commands can be set permissions, but they are also different, the following small section for you to introduce chmod and chown two command usage and differences introduced.Today's 2 commands to share are also
Chown can change the owner or group of a file. The file is a list of files separated by spaces to change permissions. Wildcards are supported.
The system administrator often uses the CHOWN command to grant the user the permission to use 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.