Saturday, April 20, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 48064  / 3 Years ago, thu, july 8, 2021, 6:01:31

I need to recursively change the permissions of all folders, sub-folders and files from within ~/.local/share/Trash/expunged Does anyone have a clue or idea on how to do this?



enter image description here



I have tried following the instructions from this question but to no avail. chmod -R ug+rw <foldername> doesn't seem to be working for this folder, its subdirectories, or enclosed files.



enter image description here



Does anyone know the chmod command to change these permissions? For example:



root@santos:/home/santos/.local/share/Trash# ls -l
total 12
drwx------ 3 santos santos 4096 Mar 21 21:38 expunged
drwx------ 2 santos santos 4096 Mar 21 21:38 files
drwx------ 2 santos santos 4096 Mar 21 21:38 info

More From » permissions

 Answers
6

try by using numeric values



chmod -R 660 directorymainname

[#39748] Friday, July 9, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
eeperant

Total Points: 39
Total Questions: 106
Total Answers: 117

Location: Finland
Member since Sat, Dec 5, 2020
3 Years ago
;