sudo doesn't propagate $PWD
Asked by
Mike Coleman
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://
100 /var/lib/
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu sudo Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Mike Coleman for more information if necessary.
To post a message you must log in.