linux how to allow permission to file code example
Example 1: linux give permission to folder
sudo chmod -R a+rwx /path/to/folder
Example 2: how to see permissions for file in linux
ls –l [file_name]
sudo chmod -R a+rwx /path/to/folder
ls –l [file_name]