Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76887 - GDM change permissions of /dev/snd/* when logging in
Summary: GDM change permissions of /dev/snd/* when logging in
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-06 05:37 UTC by Rickard Närström
Modified: 2005-09-25 12:35 UTC (History)
2 users (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 Rickard Närström 2005-01-06 05:37:24 UTC
When using GDM to login it changes the permissions of /dev/snd/* to <user>:users 600 (where <user> is the user logged in) - This make it impossible to play music whith mpd whitout shanging the permissions back.

Reproducible: Always
Steps to Reproduce:
1. Install GDM
2. Login using GDM.
Actual Results:  
The permission of /dev/snd/* is changed to <user>:users 600

Expected Results:  
the permissions shuld be leaved as before (probebly root:audio 660)

Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.3.4,
glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 22 2004, 17:04:02)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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 -march=athlon64 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mirror.pudas.net/gentoo http://mirror.pudas.net/gentoo
http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.du.se/pub/os/gentoo
http://ftp.du.se/pub/os/gentoo"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi alsa apache2 audiofile avi berkdb bitmap-fonts bonobo
cdparanoia cdr cjk crypt cups divx4linux dvd dvdr encode esd f77 fam fla flac
fortran ftp gdbm gif gnome gpm gtk gtk2 gtkhtml imagemagick imlib
insecure-drivers java jp2 jpeg junit libwww lzw lzw-tiff mad mikmod mpeg msn
multilib mysql ncurses network nls no-old-linux offensive oggvorbis opengl
operanom2 pdflib php png posix pthreads python qt radeon readline rtc samba sdl
slang sockets spell ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts
unicode usb userlocales vanilla videos vim xine xml xml2 xpm xrandr xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2005-01-08 14:57:49 UTC
are you sure it's gdm, seems unlikely. I bet it's the soundserver or something.
Comment 2 Rickard Närström 2005-01-09 02:00:27 UTC
Yes it's GDM, I can login usign falesafe xterm, and still the permissions changes - I have also checkd whith

% ps aux | less

and can't se any soud-demon running
Comment 3 Thierry Carrez (RETIRED) gentoo-dev 2005-01-13 03:04:28 UTC
I think it may be related to the pam_console "feature" changing perms when someone logs in... See :

bug 1658
bug 27857

If it's the same bug, you should be able to workaround this by playing with pam_console configuration.

We are trying to remove pam_console use by default as it messes up everything, but we lack PAM developers to solve this (see bug 31877 tracker for progress).
Comment 4 Dave Shanker 2005-09-10 16:10:36 UTC
I had the same problem before, but it seems to have been resolved since this bug
has been opened. Not sure exactly what version it was resolved but I'm currently
running GDM 2.8.0.1-r1 without the issue. Does the reporter still have an issue?
Comment 5 John N. Laliberte (RETIRED) gentoo-dev 2005-09-25 12:35:34 UTC
no response from reporter