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?
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.
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
o
means "other users."a
is short forugo
.uga+rw
is equivalent tougo+rw
, but they're only equivalent whenu
andg
are specified. – Eliah Kagan Jul 14 '12 at 14:59