How to Give All Permissions in Ubuntu?
How to Give All Permissions in Ubuntu?
I want to give the user write privileges on the folder or file.
Farjanul Nayem Answered question December 12, 2022
You can also use the command to give permissions to the selected folder and its files.
Method 1:
sudo chmod -R a+rwx /path/to/folder // For the hole directory sudo chmod -R a+rwx /path/to/main.py // For the particular file
Method 2:
sudo chown -R $USER /path/to/folder // For the hole directory sudo chown -R $USER /path/to/main.py // For the particular file
Farjanul Nayem Answered question December 12, 2022