chmod
Description
Only root can update permissions. Type 'sudo su' and your password to sign in as root. Chande Mode
Standard
chmod a+rwx file.txt | Add read, write and execute rights for owner for file.txt | |
chmod g+rwx file.txt | Add read, write and execute rights for group for file.txt | |
chmod o+rwx file.txt | Add read, write and execute rights for other for file.txt |
Permissions


chown
Description
The chown command changes ownership of files and directories in a file system.
chown root:root /etc/apt/trusted.gpg.d/microsoft.asc.gpg |