Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 288736 - media-libs/libmtp installs udev-rules file that gives too much permissions
Summary: media-libs/libmtp installs udev-rules file that gives too much permissions
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Kenneth Prugh (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-12 15:54 UTC by Ernst Bachmann
Modified: 2010-04-21 17:08 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ernst Bachmann 2009-10-12 15:54:06 UTC
media-libs/libmtp (-1.0.1, also older versions) installs /etc/udev/rules.d/65-mtp.rules. This files gives "666"-Permissions to all detected mediaplayers.


Reproducible: Always

Steps to Reproduce:
Plug in a mediaplayer.
Check permissions on device node.

Actual Results:  
# ls -la /dev/bus/usb/001/014
crw-rw-rw- 1 root plugdev 189, 13 Oct 12 17:48 /dev/bus/usb/001/014


Expected Results:  
drop world read/write rights. Maybe change group to "audio" instead of "plugdev"?


a simple s/666/660/ on the rules-file should do the trick...
Comment 1 Kenneth Prugh (RETIRED) gentoo-dev 2010-04-21 17:08:30 UTC
fixed in libmtp-1.0.2-r1