← Back to team overview

ubuntuforums-unanswered team mailing list archive

[Question #79333]: sudo doesn't propagate $PWD

 

New question #79333 on sudo in ubuntu:
https://answers.launchpad.net/ubuntu/+source/sudo/+question/79333

Binary package hint: sudo

The $PWD environment variable isn't being propogated/set by sudo.  The command 'sudo printenv' doesn't mention PWD, for example.  This is bad because it's a very standard env var, and many scripts expect it to exist.


sudo:
  Installed: 1.6.9p17-1ubuntu3
  Candidate: 1.6.9p17-1ubuntu3
  Version table:
 *** 1.6.9p17-1ubuntu3 0
        500 http://us.archive.ubuntu.com jaunty/main Packages
        100 /var/lib/dpkg/status

-- 
You received this question notification because you are a member of UF
Unanswered Posts Team, which is an answer contact for Ubuntu.