can't upload data without root priviliges
Bug #243716 reported by
Frederik Elwert
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qlandkarte (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
udev (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: qlandkarte
qlandkarte can't load map data to the GPS device when run as normal user. I get this error message: "Failed to obtain GPS properties. Failed to configure USB: could not set config 1: Operation not permitted". When running qlandkarte as root, it works without problems.
I have QLandkarte 0.7.1, Ubuntu Hardy and a Garmin Legend HCx device.
To post a comment you must log in.
In the meanwhile, I found out that this bug is due to permission issues when accessing USB.
This issue affects all applications accessing garmin GPS devices directly via usb (such as gpsbabel). Here is a description and a solution: http:// www.gpsbabel. org/os/ Linux_Hotplug. html
The relevant part is this:
To allow the USB devices to be read and written by a non-privileged user, create a named /etc/udev/ rules.d/ 51-garmin. rules with the following contents: idVendor} =="091e" , SYSFS{idProduct }=="0003" , MODE="666"
SYSFS{
Would it be possible to create such a rule by default? Or does it have any security problems? At the current state, it's simple not possible to access Garmin GPS devices as an unprivileged user.