I am running Ubuntu 10.04.2 LTS. Why I can't I cd
into the /var/www
directory?
david@ubuntu:/var$ pwd
/var
david@ubuntu:/var$ ls -l
drwxrwxr-- 13 root root 4096 2011-02-26 21:53 www
david@ubuntu:/var$ cd www
-bash: cd: www: Permission denied
david@ubuntu:/var$ sudo cd www
sudo: cd: command not found
cd
is a shell built-in sosudo
can't be used. – Dennis Williamson Mar 4 '11 at 14:57cd
executable could do, it couldn't change the shell process' cwd. – David Schwartz Aug 20 '11 at 21:12