Update of /cvsroot/alsa/alsa-driver
In directory sc8-pr-cvs1:/tmp/cvs-serv26218
Modified Files:
snddevices.in
Log Message:
Make correct permisions for /dev/snd directory
Index: snddevices.in
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/snddevices.in,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- snddevices.in 13 May 2003 06:52:54 -0000 1.19
+++ snddevices.in 14 Dec 2003 09:49:11 -0000 1.20
@@ -5,10 +5,14 @@
MAX_CARDS=4
PERM=666
OWNER=root.root
+DIR_PERM=755
+DIR_OWNER=root.root
if [ "`grep -w -E "^audio" /etc/group`x" != x ]; then
PERM=660
OWNER=root.audio
+ DIR_PERM=750
+ DIR_OWNER=root.audio
fi
function create_odevice () {
@@ -140,7 +144,8 @@
# Create new ones
-mkdir -p /dev/snd
+mkdir -m $DIR_PERM -p /dev/snd
+chown $DIR_OWNER /dev/snd
create_devices /dev/snd/control 0
create_device1 /dev/snd/seq 1
create_device1 /dev/snd/timer 33
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog