Hey Everyone,
I'm using the newest release of Linux Mint Cinnamon and when I mkdir from terminal for some reason the directory folder and all subs permissions are; owner and group set to root. This is a pain the arse cause I don't know how to do recursive chmod. I have a basic understanding that it's chmod -R. The stuff that follows just confuses me. Example chmod u=rwx,g=rx,o=r myfile. Thing is I want to set the permissions to the directory. Any help would be appreciated.
Seems some of the files I create afterwards are not able to be trashed.
$ ls -ld ~/.local/share/Trash/
output
$ drwx------ 4 root root 4096 Nov 3 17:37
Answer was
$ sudo chmod -R 700 ~/.local/share/Trash. I don't really get this and not really sure if I should do this as 7 is god mode.
I'm using the newest release of Linux Mint Cinnamon and when I mkdir from terminal for some reason the directory folder and all subs permissions are; owner and group set to root. This is a pain the arse cause I don't know how to do recursive chmod. I have a basic understanding that it's chmod -R. The stuff that follows just confuses me. Example chmod u=rwx,g=rx,o=r myfile. Thing is I want to set the permissions to the directory. Any help would be appreciated.
Seems some of the files I create afterwards are not able to be trashed.
$ ls -ld ~/.local/share/Trash/
output
$ drwx------ 4 root root 4096 Nov 3 17:37
Answer was
$ sudo chmod -R 700 ~/.local/share/Trash. I don't really get this and not really sure if I should do this as 7 is god mode.
Last edited: