Linux Command Encyclopedia file management: Chown

Source: Internet
Author: User
Keywords Linux file management command encyclopedia
Tags aliyun change command encyclopedia directory file file management files group

Feature Description: Change the owner or group of files or directories.

Grammar: chown&http://www.aliyun.com/zixun/aggregation/37954.html ">NBSP;" [-CFHRV] [--dereference] [--help] [--version] [Owner .< Group] [File or directory ...] or Chown [-chfrv][--dereference][--help][--version][. group] [file or directory ...] or chown [-cfhrv][--dereference][--help][-- reference=< reference file or directory >][--version][file or directory ...]

Supplemental Note: In the UNIX system family, the control of file or directory permissions is managed by the owner and the owning group. You can use the chown instruction to change the file and directory owner or group, set the way to use the user name or user identification code, set the group with group name or group identification code.

Parameters:
The-C or--changes effect is similar to the "-V" parameter but only returns the changed part.
The-F or--quite or--silent does not display an error message.
-H or--no-dereference to make changes to the signed file without altering any other relevant documents.
-R or--recursive recursively, all files and subdirectories in the specified directory are processed together.
The-V or--version displays the instruction execution process.
The--dereference effect is the same as the "-h" argument.
--help online Help.
The--reference=< reference file or directory > sets the owner of the specified file or directory to the owning group and the owner of the reference file or directory is the same as the owning group.
--version Displays version information.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.