OK - so I open terminal and I want to use chown to change permissions / ownership recursively. I want to use
sudo chown -R username:group directory
The folder I want to change permissions on is opt/lampp what would be the correct replacement for 'directory' to change permissions on opt/lampp - if the following was my command to recursively replace ownership on the parent directory all subfolders and all files for the lampp directory and I am a sudo user, the command would be
sudo chown -R myname:sudo what goes here ?
please tell me what I would enter in terminal instead of 'what goes here'
sudo chown -R username:group ./lammpIf you miss the space between / and opt when running chown, thatll be bad, so it's better to cd first