Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 120532 - udev + ppdev permission bug
Summary: udev + ppdev permission bug
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-27 07:25 UTC by Maciej Grela
Modified: 2006-01-30 13:31 UTC (History)
0 users

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 Maciej Grela 2006-01-27 07:25:08 UTC
There is a missing entry in udev rules for parport* port entries. This causes parport* device files to be created with root:root ownership. Don`t know why this entry in udev.permissions doesn`t work:

parport*:root:lp:0660

It can be fixed by adding the following entry to udev.rules:

KERNEL=="parport*",     NAME="%k", GROUP="lp"

My emerge info is:
(Y) emerge --info
Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.4-hardened, glibc-2.3.5-r2, 2.6.11-gentoo-r5-newhope i686)
=================================================================
System uname: 2.6.11-gentoo-r5-newhope i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -fomit-frame-pointer -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.zie.pg.gda.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aalib acl acpi adns alsa apache2 arts audiofile avi berkdb bitmap-fonts bzip2 cairo cdr crypt cups curl dedicated dio dvd emboss encode esd ethereal exif expat ffmpeg fftw flac foomaticdb ftp gd gdbm gif glitz glut gnutls gpgme gphoto2 gpm gsm gtk gtk2 iconv idn imagemagick imap ipv6 irda jabber jack java javascript joystick jpeg kde lcms ldap libcaca libg++ libwww lirc lm_sensors mad maildir matroska mhash mikmod mime mmx mmxext mng motif mp3 mpeg mysql ncurses netboot nls nntp ogg oggvorbis openal opengl pam pcre pdflib perl png pop python qt quicktime readline real rtc samba sasl sdl sensord session sharedmem slp smartcard smime snmp sockets socks5 sox speex sse ssl sysfs tcpd theora threads threadstruetype tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vorbis win32codecs xine xinerama xml2 xmms xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-01-27 12:46:58 UTC
The *.permissions file is not used at all anymore, that is why :)

I'll modify the rules file to add this for the next udev release, thanks.
Comment 2 Greg Kroah-Hartman (RETIRED) gentoo-dev 2006-01-30 13:31:46 UTC
fixed in 083 release, and in 079 if you re-emerge.