Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 288736

Summary: media-libs/libmtp installs udev-rules file that gives too much permissions
Product: Gentoo Linux Reporter: Ernst Bachmann <e.bachmann>
Component: [OLD] LibraryAssignee: Kenneth Prugh (RETIRED) <ken69267>
Status: RESOLVED FIXED    
Severity: minor CC: sound
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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