Directory has permissions drw-r--r-- 3 root root ("others" should be able to read it) but I can't cd to it as my user. Why?

StackOverflow https://stackoverflow.com/questions/21601409

문제

Isn't this supposed to work? I changed the ownership to that of my user but it still says "Permission denied".

도움이 되었습니까?

해결책

In order to be able to access a directory you need the execution permission on that directory. say chmod o+x /somedir

Hope this helps.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top