how to see permission on a file linux code example
Example 1: how to change permissions on a file in linux
sudo chmod -R ugo+rwx /file/path
Example 2: ls file permissions linux
ls –l [file_name]
ls –l test.txt
sudo chmod -R ugo+rwx /file/path
ls –l [file_name]
ls –l test.txt