Ubuntu 18.04 – Change file ownership

Screenshot 20190213 220535

You can change file owner and group with chown. Changes the owner of the xab file to root. Changes the owner of the xac file to root, and its group to root sudo chown root:root xtest/ -R Changes the owner of the directory and the files inside this directory to root and their group to root THE END!!! Ubuntu 18.04 – Change file permissions Ubuntu 18.04 – file permissions Ubuntu 18.04 – Your first shell script Ubuntu 18.04 – Change file ownership

Ubuntu 18.04 – Change file ownership Read More

Ubuntu 18.04 – Change file permissions

Screenshot 20190205 094401

Change permissions If you want to change permissions you need to use chmod. File permissions explained in this post. You can change permissions using characters or number. Let’s see the chmod options for the permissions: read – r or 4 write – w or 2 execute – x or 1 chmod options for user: owner – u group – g other – o all – a or ugo chmod options for actions: add permission – + remove permission – – set permission – = Examples with character options a+x =…

Ubuntu 18.04 – Change file permissions Read More