** Description changed: Binary package hint: sudo See the upstream bug that I had reported and was fixed: http://www.gratisoft.us/bugzilla/show_bug.cgi?id=282 As root, when I execute the command: HOME=<some_dir> sudo -u <some_user> HOME is set to /root (root's home dir) not <some_dir>. As per the documentation, sudo should not mess with the HOME envar unless -H or -i is specified. This is on hardy. It worked on gutsy. + + TEST CASE: + broken Hardy final version: + $ HOME=/tmp sudo -u nobody sh -c 'echo $HOME' + /home/martin + with hardy-proposed fixed version: + $ HOME=/tmp sudo -u nobody sh -c 'echo $HOME' + /tmp
-- sudo resets HOME envar https://bugs.launchpad.net/bugs/221395 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs