Command name: chmod
Permission: All Users
Usage: chmod [-CFVR] [-- help] [-- version] mode file...
Note: file access permissions for Linux/Unix are classified into three levels: file owner, group, and others. Chmod can be used
To control how
In linux, the command chmod is used to change the folder permission and change the folder permission of the file owner. when you want to use the chmod command to change the permission, add a letter to the chmod and then a file name (for example,
1. Role
Change the owner and owner group of one or more files or directories. The usage permission is superuser. 2. Format
chown [Options] User or group file 3. Main parameters
–dereference: Affected is the object indicated by the symbolic link,
In linux, the command chmod is used to change the folder permission and change the folder permission of the file owner. chmod is followed by a letter, followed by a file name (such as chmod a + x) www.2cto.com. When you want to use the chmod command
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-separated list of files to change permissions, and wildcard
Http://www.cnblogs.com/peida/archive/2012/12/04/2800684.htmlChown 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-separated
First, Chown commandPurpose: Change the owner or group of the file. The command is composed of the word change owner.Examples of Use:1. Change the owner of the file:Chown Jim Program.cChange the owner of the file program.c to Jim. As an owner, Jim
actual User id:Some articles refer to it as the real user ID, which is the ID when we log on to the UNIX system.
Valid User ID: Defines the rights of the operator. A valid user ID is a property of a process that determines the access to the file
The chown command is used to change the owner and group of files or directories. The superuser permission is required to use this command.
Introduction
The chown command is used to change the owner and group of files or directories. This command
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.