How to Change Ownership Permission in Linux?

You can easily change the ownership permission in Linux by using chown command. Let us go through the procedure in detail.
  • Log in to your SSH with root.
  • Move inside the directory where you want to perform the changes by using the cd path/to/directory command.
  • Now use the ls -all command to view the user & group of every file/directory. 
  • Use the chown user:group DirectoryName command as:
# chown USER FILE
  • You can also change the owner permission of multiple files at once.
# chown RSH File1 Directory1 

The above command will change the ownership of a file named File1 and directory named Directory1 to a new owner named RSH.

To read more about ownership permission in Linux, check the blog.
  • change ownership permission in Linux, can not edit file solution, change permission command, change group permission command, full tutorial, change user permission command, linux, file permission denied solution error, commands, how to change file permission solve file access denied erorr, file permission denied error solution from Linux, chmod, permission denied solution from ssh, permission denied error solution, root, solve directory access denied error in cPanel, method to change linux permissions, Owner, permission, group, linux tutorial, howto, how to solve permission denied error, ssh, whm, putty, trick to change file permissions, use of chown command
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What are some Basic SSH commands?

List of some basic SSH commands are: ls – This command is used to list all files and...

How to connect to SSH?

Putty is an open-source SSH client used to connect to a remote server. This article describes how...

20 Basic Linux Commands and their Uses.

Following are the top 20 basic Linux Commands with Live Examples that would definitely help you...

How to Block/Unblock IPs from SSH?

You can easily block or unblock IPs  from SSH. #1. Block An IP Address from SSH First of all,...

How to install CpCleaner in cPanel through SSH?

CpCleaner is a cPanel plugin created to give cPanel users the option to clean junk files that...