Hello everyone!

We have been investing plenty of personal time and energy for many years to share our knowledge with you all. However, we now need your help to keep this blog running. All you have to do is just click one of the adverts on the site, otherwise it will sadly be taken down due to hosting etc. costs. Thank you.

When assigning wrong permissions or doing something wrong with permissions, all the files and folders appear as ?????????? when listing the content of the folder. To resolve this issue, use command below.

Current problem

inanzzz@inanzzz:~/project/test$ ls -l
total 4
??????????? ? ? ? a.txt
??????????? ? ? ? b.txt
??????????? ? ? ? folder


inanzzz@inanzzz:~/project$ chmod -R a+x test/


inanzzz@inanzzz:~/project/test$ ls -l
total 4
-rw-rw-r-- 1 inanzzz inanzzz 0 Mar 20 19:00 a.txt
-rw-rw-r-- 1 inanzzz inanzzz 0 Mar 20 19:00 b.txt
drwxrwxr-x 2 inanzzz inanzzz 4096 Mar 20 19:00 folder