Why can’t I cd into a directory? October 15, 2022 by Tarik You need execute permission to cd into a directory. sudo chmod o+x /var/www