KDE4: sudo removes /usr/lib/kde4/bin from PATH: e.g. "sudo kate" fails
Bug #191264 reported by
yegle
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sudo (Ubuntu) |
Invalid
|
Medium
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Mackenzie Morgan |
Bug Description
I installed kate-kde4 and run "sudo kate",the system tells me "command not found"
I tried to run kate normally and run kate after "sudo su",everything is fine.
Related branches
Changed in kdesudo-kde4: | |
importance: | Low → Medium |
Changed in kdesudo-kde4 (Ubuntu): | |
assignee: | nobody → Mackenzie Morgan (maco.m) |
status: | Confirmed → In Progress |
Changed in sudo (Ubuntu): | |
assignee: | Mackenzie Morgan (maco.m) → nobody |
status: | In Progress → Invalid |
To post a comment you must log in.
Thanks for reporting this issue.
It seems that /usr/lib/kde4/bin/ is not part of your path variable in the root environment. When you execute "sudo su" you do not change the environment variables to the root defaults, but they stay as they are.
I do not believe this is a bug as this stage, but rather a configuration issue because of parallel KDE versions. Therefore I would like to close this report.
Thanks