I want to access my /opt/ folder. I have found the following commands for giving access permission.
I am not sure what is the purpose of this commands, which one is the better to use it to maintain security and access permission both.
I want to understand the number system within this command.
sudo chmod 755 -R /opt/
sudo chmod 755 /opt/
sudo chmod 775 /opt/
sudo chmod 777 /opt/
I didn't know these commands, so what I use to do previously was
gksudo nautilius then:
Right click > change the owner from root to current user group
Now I have found the
chmod command I would like to better understand how this command works and how best to implement it.