Chown/bin/chownchown [user] [file or directory] to change the owner of a file or directoryOnly root can change the owner of a file or directoryRoot User:Mkdir/tmpTouch/tmp/test.fileUseradd MEINVpasswd MEINVChown Meinv/tmp/test.fileMEINV
Town Yard text:The Confucian School of the practical and practical, line Buddhism Purdue sentient beings, the monastic Kangsheng fidelity, understanding of the easy to change the image. To science and technology to shine a good law, the achievement
, usingchown CommandChange file ownerin the shell, you can use thechown Commandto change the file owner. chown Commandis the abbreviation for change owner (changing owner). It is important to note thatThe user must be in an existing system, which
1, Command introduction:CHGRP is used to change the permissions of the group to which the file or directory belongs, and the group to be changed must exist in the/etc/group file.2. Command format:CHGRP [Options] group file3. Command
These three commands are changed file attributes and permissions, put together to writeCharp: Changing the user group to which the file belongsChown: Change the file ownerchmod: Changing the permissions of a fileA file for Owner,group, others have
UseraddAdd a new user account, only the root account can be operated-D Directory: Specify the home directory (default in Home), if this directory does not exist, you can use-m to create the main directory-G user group: Specify the user group to
UseraddAdd a new user account, only the root account can be operated-D Directory: Specify the home directory (default in Home), if this directory does not exist, you can use-m to create the main directory-G user group: Specify the user group to
, usingchown CommandChange file ownerin the shell, you can use thechown Commandto change all the files. chown Commandis the abbreviation for change owner (changing owner). It needs to be noted thatThe user must be in the existing system, that is,
This article collects 10 articles on phpchgrp () functions and recommends 10 articles on php chgrp () functions.
1. php interview question 4-Linux part (Advanced part) linux php linux uninstall php linux start ph
Introduction: php interview
Phpchgrp () function. Phpchgrp () function chgrp (in PHP4, in PHP5) chgrp-change the file group description Boolean chgrp (string $ file name, mixed $ group) attempts to change the group's file filename group. Only the php chgrp () function chgrp
Wordpress 3.7 supports automatic upgrade. This also brings about a common problem. When wordpress times out during the upgrade process, the website remains in maintenance mode and cannot access the website. "Briefly unavailable for scheduled
How to change file attributes and permissions
We now know the importance of file permissions to the security of a system and the relevance of file permissions to users and groups. How can we modify the attributes and permissions of a file? Again!
In linux, to change the user group is to use chgrp, change the file owner, chown, and change the nine attributes. chmod is a common problem, in linxu, these three commands are the control commands for file directory permissions. Next I will
We already know the importance of file permissions to system security and the relationship between file permissions and users and user groups. How can we modify file permissions? How many file permissions can we modify? In fact, a file has a lot of
chgrp: Changes the user group to which the file belongs. chown: Change the owner of the file. chmod: Changes the properties of the file, suid, and so on. To change the owning user group, CHGRP The user group that changes the file is simple, just
CentOS System Management _ Basic authority and attribution of the detailed
Linux System Management _ Basic permissions and Attribution-redhat Enterprise 5
Files and directories are the most important in Linux systems, often use the root user login
Linux File Permissions ConceptsWhen your screen appears "Permission deny", do not worry, "must be a permission set error"! (The following excerpt from the bird Brother's Linux private dishes sixth chapter, Linux file permissions and directory
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.