SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I did a clean install of Slackware 10 on my machine yesterday (which previously ran 9.1 perfectly) and have encountered a strange issue with access to the cdrom/dvd drive. I noticed that normal users could no longer mount the cdrom unless they were root, this was simply rectified by changing the appropriate line /etc/fstab to the following:
/dev/cdrom /mnt/cdrom iso9660 noauto,users,ro 0 0
This only half solved the problem though as users could still not play dvd's (tried in both totem and mplayer) as the user still had 'insufficient permissions' to directly access the device. On my system /dev/cdrom and /dev/dvd are links to /dev/hdc. I figured this might be a problem with the permissions on the devices so changed all their permissions as follows:
chmod 666 /dev/hdc
This solved the problem and users could now also play DVD's. I was happy for a bit until I rebooted the system and the problem reoccurred. I can't figure out what's going on here, I can only imagine that something is re-setting the permissions on boot-up. Has anyone else experienced this problem and/or knows a way of solving this?
I changed the line in /etc/fstab as you did and added myself to the user group. I then set my permissions on /dev/hdd which is my dvdrom drive as follows " chmod go+rx /dev/hdd " so that the group and user can read and execute files on the dvdrom/cdrom in /dev/hdd. I have not had a problem playing DVD's using MPlayer or xine and reading data or audio CD's from this drive.
I tried the command as you suggested but with the same results as before - when I reboot it is no longer accessible. If its of any help here is my output of doing ls -la on /dev/hdc straight after boot-up:
I am also running the 2.6.7 test kernel and have the hotplug system activated. It all seems very strange as when I was running Slack 9.1 (with kernel 2.6.7 again) I never had this problem at all.
Keefaz is right, every user has to be in the "users" group in /etc/group. My output from ls -la /dev/hdd is as follows "brw-rwxr-x 1 root disk 22, 64 Jun 9 2002 /dev/hdd" you don't seem to have the read and execution permission on the "others" part of your permissions.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.