LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-01-2004, 02:50 PM   #1
Loslobo
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Rep: Reputation: 4
Kaudiocreator and DVD access for users in Slackware 10?


Despite hiccups, I managed to get Slackware 10 installed using the standard 2.4.26 kernel. I have a combo DVD/CDRW, yet I'm puzzled on why Kaudiocreator will give the error message "Access denied to /dev/cdrom" for the user, but not root.

The same can be said for accessing DVD as a user.

My append file has 'hdc=ide-scsi"

and my fstab is:

/dev/cdrom /mnt/cdrom auto defaults,noauto,user,ro,exec 0 0
/dev/dvd /mnt/dvd auto defaults,noauto,user,ro,exec 0 0

I do have the dvd and cdrom directories in /mnt and the user name is inserted into the cdrom,audio,video and disk groups at /etc/groups.


Sniffing at the command line using ls -lah /dev/cdrom results in:
lrwxrwxrwx 1 root cdrom 8 /dev/cdrom -> /dev/sr0

ls -lah /dev/sr0:
brw-rwxrwx 1 root disk 11 /dev/sr0

ls -lah /dev/hdc:
brw-rwxrwx 1 root disk 22 /dev/hdc

Just for giggles, I changed the group in /dev/cdrom to disk. Same results. It's a real headscratcher for me.

What am I missing here to get permissions in user space?
 
Old 09-01-2004, 03:05 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Try:

/dev/cdrom /mnt/cdrom auto defaults,noauto,users,ro,umask=000 0 0
/dev/dvd /mnt/dvd auto defaults,noauto,users,ro,umask=000 0 0
 
Old 09-01-2004, 03:59 PM   #3
Loslobo
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 4
Unhappy

Quote:
Originally posted by gbonvehi
Try:

/dev/cdrom /mnt/cdrom auto defaults,noauto,users,ro,umask=000 0 0
/dev/dvd /mnt/dvd auto defaults,noauto,users,ro,umask=000 0 0
Erp, same results. "Access denied to /dev/cdrom" Even changing group name in /dev/cdrom from disk to cdrom.

I just realized, I had my lilo configured for both the 2.4.26 kernel and 2.6.7 kernels. I'm wondering if the modules inserted by the 2.6.7 install had replaced some modules needed by 2.4.26. The rc.module entry now points to rc.module-2.6.7

In that case, I'll try installing Slackware tomorrow with the 2.4.26 kernel (and use that fstab suggestion) only and try again.

Thanks and wish me luck gbonvehi.
 
Old 09-01-2004, 04:21 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Didn't realized when i read, try removing defaults
 
Old 09-02-2004, 12:08 AM   #5
Loslobo
LQ Newbie
 
Registered: Sep 2004
Posts: 29

Original Poster
Rep: Reputation: 4
Well I tried a fresh reinstall of Slackware 10, using just kernel 2.4.26 and having "hdc=ide-scsi" in the append file.

Same results. I can play KSCD as a user, but while KaudioCreator recognizes CD tracks, an attempt to create an Ogg file off of one results in "Access denied to /dev/cdrom"

KaudioCreator works in root. I suspect I'll have the same problem when trying to access data DVD's.

This time around I set chmod 777 to /dev/sr0 and to /dev/hdc

I did set fstab to : /dev/cdrom /mnt/cdrom udf,iso9960 noauto,users,ro,umask=000 0 0

ls -lah /dev/cdrom
lrwxrwxrwx 1 root root 8, /dev/cdrom >- /dev/sr0

ls -lah /dev/sr0
brwxrwxrwx 1 root disk 11, /dev/sr0

ls -lah
brwxrwxrwx 1 root disk 22, /dev/hdc

And I have the user in groups audio,cdrom,disk,video

Again, same problem, only root access for KaudioCreator. I guess I am missing something in permissions or groups here. And it's rather annoying.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
For 9.3 users having probs with DVD playing 1kyle SUSE / openSUSE 5 09-11-2005 04:01 AM
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 05:33 AM
Slackware 10 cdrom/dvd user access problems beyondzero Slackware 7 06-27-2004 05:21 AM
Kppp access for users? divine1 Red Hat 1 02-13-2004 09:41 PM
limiting users access iquadri1 Linux - Networking 1 09-04-2001 01:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:28 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration