gksudo -k does not perform as advertised
Bug #8995 reported by
Sam Phillips
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgksu1.2 (Ubuntu) |
Fix Released
|
Medium
|
Sebastien Bacher |
Bug Description
When running gksudo with the -k command line option the program does not
maintain the user's environment in the subprocess.
Simple test:
---8<---
#!/bin/sh
# test.sh
echo "$HOME"
--->8---
gksudo -k ./test.sh
/root
This should return my HOME not root's.
To post a comment you must log in.
fixed upstream in the new 1.2.5 release