Correct, this is fundamental to how UNIX works.  "cd" has to be built
into the shell, while sudo is not.  If you want to do this, you should
spawn a shell using sudo -s or sudo -i and then run the commands you
want, including cd.

** Changed in: Ubuntu
       Status: Unconfirmed => Rejected

-- 
sudo cd <DIR> doesn't work
https://bugs.launchpad.net/bugs/118615
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to