Issue Details (XML | Word | Printable)

Key: FL-2781
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Distro
Reporter: eMBee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Foresight Linux

gparted does not detect tools in /usr/sbin because polkit sets limited PATH

Created: 05/Aug/11 11:34 AM   Updated: 05/Aug/11 11:34 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None
Security Level: Public (Everyone can see this issue)

Time Tracking:
Not Specified

Environment:
group-gnome-dist=/foresight.rpath.org@fl:devel//2-qa/2.5.1+2011.07.15-0.4-3[~!gcc.core]
gparted=/foresight.rpath.org@fl:2-qa/0.7.0-1-1[~!builddocs]
ntfsprogs=/foresight.rpath.org@fl:2-qa/2.0.0-1-1


 Description  « Hide
when gparted is started from the menu via gksu-polkit the path is set to /usr/local/bin:/bin:/usr/bin
ntfsprogs for example used by gparted are in /usr/sbin

to be able to detect the the PATH needs to include at least /usr/sbin
i don't know where this should be fixed. ideally a policy file for gparted would be created which sets the PATH
(is that possible? running gksu-polkit xterm; gives a different path, so there must be something setting that).
alternatively a workaround would be to manually fix the PATH in the /usr/bin/gparted script



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.