how to change permissions only files owned by root code example
Example: how to change permissions for only the root
sudo chown root:root /path/to/application
sudo chmod 700 /path/to/application
sudo chown root:root /path/to/application
sudo chmod 700 /path/to/application