Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56565 - Possibly incorrect default permissions for sr0
Summary: Possibly incorrect default permissions for sr0
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Greg Kroah-Hartman (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-09 12:34 UTC by anlar
Modified: 2004-09-22 09:44 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 anlar 2004-07-09 12:34:22 UTC
I am using 2.6.7 with udev, I plug in my usb dvd-rom drive the /dev/sr0 gets automatically created. Even though my normal user account is in cdrom group, it can't access sr0 properly (via /dev/dvd naturally) for watching dvds. (The libraries xine/mplayer/etc use for raw accessing dvd) 

I just scratched my head for almost couple hours before checking the most obvious.. Please check and tune the defaults accordingly if I am not the only one.

Reproducible: Always
Steps to Reproduce:
1. Plug in usb dvd-rom drive
2. Launch xine/mplayer


Actual Results:  
Error messages about the dvd reading&decrypting libraries being unable to access
the device /dev/dvd

Expected Results:  
Played the dvd.

bash-2.05b$ emerge info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acpi alsa apache2 apm arts avi berkdb bonobo cdr crypt cups
curl dga doc dvd encode esd ethereal fbcon flash foomaticdb gd gdbm gif gnome
gphoto2 gpm gtk gtk2 guile imap imlib java jpeg kde lcms libg++ libwww mad
mikmod mmx motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd tetex
tiff truetype unicode usb videos wmf wxwindows x86 xface xml2 xmms xv zlib"
Comment 1 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-09-20 16:00:24 UTC
What is the permission that is set on /dev/sr0?
Comment 2 anlar 2004-09-22 09:44:58 UTC
As the new permissions seemed sticky and if I deleted the node at least the current scripts would give it proper rights, can't reproduce anymore.