Ubuntu: Can’t access a directory even though my account is in the owner group

You are here:
  • Main
  • Ubuntu
  • Ubuntu: Can't access a directory even though my account is in the owner group
← All Topics

To be able to move into a directory you need x permissions.

drw-rw-r--  3 www-data www-data 4096 Oct 12 11:09 website

In the example above, the directory does not have x permissions.

To recursively adjust permissions you can use a command like this:

sudo find . -type d -exec chmod a+x {} \;