I changed the permissions on some root subdirectories on my server that I created and now I cannot read them. The data is still there but I seem to have locked myself out. What do I do?
I have a linux server for my video and music collections, the data reside in the directories off of root /media/Movies and /media/Music respectively. I wanted to ftps some files to /Movies but I could not get in, so i sudo chmod 666 for /Movies and /Music. Now the directories are highlighted green in ls -al where before they were not highlighted and now I cannot look into the directories at the server and remotely.
How can I look into those directories for which I changed permissions?
qrp@qrp-Laptop:/media
$ ls -l
total 44
…
drw-rw-rw- 1 qrp qrp 4096 May 7 18:01 dellserver (highlighted green)
drw-rw-rw- 1 qrp qrp 36864 May 7 16:54 Movies (highlighted green)
drw-rw-rw- 1 qrp qrp 4096 May 7 17:45 Music (highlighted green)
…
$ ls -l /Movies
ls: cannot access ‘/Movies’: No such file or directory
$ cd Movies
qrp@qrp-Laptop:…/media/Movies
$ ls -l
total 0
Host: Laptop AB (same OS on the server)
OS: Zorin OS 17.1 x86_64
DE: GNOME 43.9
Kernel: Linux 6.5.0-28-generic
Shell: bash 5.1.16
WM: Mutter