75source-profile wipes $PATH on startx
Bug #1119117 reported by
Øyvind Hvidsten
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Raspbian |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In Raspbian, there's a file called /etc/X11/
[ -f /etc/profile ] && . /etc/profile
[ -f "/home/
This file is nonsensical. "Nobody" has a /home/root, and /etc/profile will wipe your $PATH
It should AT LEAST source $HOME/.profile, but ideally this file shouldn't need to exist.
To post a comment you must log in.
I don't know if it's a bug, but it's certainly a nuisance.
What's the recommended workaround? At the moment I just execute a script which restores ~/bin to the path every time I startx. Irritating.