Linux - How to change file or folder ownership in ubuntu, Change Owner

How to change file or folder ownership in ubuntu

How to change file or folder ownership in Ubuntu?

1. Open the Terminal screen within Ubuntu. You should find the Terminal under the Applications and Accessories Menu. If for some reason you do not have Terminal, you should download this package. It is essential!

2. Change to the super user (root) by entering 'sudo su' at the command prompt. You will need to enter your account password. You will then notice the prompt change slightly to include the name 'root'.

3. Enter the following command. "chown username filepath". Enter your username and the complete file path of the folder or the file you want to adjust the ownership for.

4. Check the ownership of the folder or file. It should now be displaying the name of the user you changed it to. Also the file type may be different as well. You should now see the actual file type of the file (if the item you are changing is a file). There will not be a change, if you are changing ownership of a folder.

The topic on Linux - How to change file or folder ownership in ubuntu is posted by - Venki

Hope you have enjoyed, Linux - How to change file or folder ownership in ubuntuThanks for your time

Tech Bluff