0

Suppose i have directory /home/me/okay which have permission as shown below :

drwxr-xr-x 1 nizarpermanahadi nizarpermanahadi 4096 Jul 24 17:39 okay

After that i tried to change it with chmod -x okay command. And now the permission had changed like this :

drw-r--r-- 1 nizarpermanahadi nizarpermanahadi 4096 Jul 24 17:39 okay

Now the directory only can be read or written. When i tried to read it. The terminal showed like this :

ls: cannot access 'okay/dalam.cpp': Permission denied
total 0
-????????? ? ? ? ?            ? dalam.cpp

I want to read the directory without executing it and see the list. Can i do that?... if yes, how to do that?

Zozzizzez
  • 497

0 Answers0