我正在运行Ubuntu 10.04.2 LTS.为什么我不能进入/ var / www目录?
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
您需要执行权限才能进入目录.
sudo chmod o+x /var/www