mystified Posted August 9, 2005 Report Share Posted August 9, 2005 I've been having a problem for about a month now where when I insert a dvd or cd in my dvd drive that it's not detected. I keep having to do chmod a+r /dev/hdc in order to get it to work. I haven't changed my fstab but here it is. /dev/hda7 / reiserfs notail 0 0 /dev/hda8 /home reiserfs notail 0 0 /dev/hda1 /mnt/mandrake reiserfs notail 0 0 /dev/hda6 /mnt/mandrake/home reiserfs notail 0 0 /dev/hda9 /mnt/lfs reiserfs notail 0 0 /dev/hda5 none swap sw $ /dev/hdc /mnt/cdrom auto noauto,ro,user 0 0 Any ideas? This is rather annoying. mysti Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 9, 2005 Report Share Posted August 9, 2005 (edited) Install and run the usual "modern" CD automounters: message bus (dbus), hal, ivman. Then fstab-sync will autocreate for you a new entry, like: /dev/hdc /mnt/dvd auto user,exec,noauto,comment=managed 0 0 You can manually delete your old entry after that. If you have upgraded from a previous Mandy ( or Gentoo? :P ) version, disable/uninstall old automounting utils- more than one of them can create a mess. Works here (although my Arch Linux sets fstab-sync automounting devices under /media and not under /mnt - but this shouldn't change a iota). Edited August 9, 2005 by scarecrow Quote Link to comment Share on other sites More sharing options...
tyme Posted August 9, 2005 Report Share Posted August 9, 2005 working on this with her on IRC. her file permissions are: brw-rw-r-- 1 root cdrom 22, 0 Aug 6 23:45 /dev/hdc gentoo uses a cdrom group, i've told her to add herself to it: gpasswd -a <username> cdrom i think this should work, waiting for her to respond :) Quote Link to comment Share on other sites More sharing options...
mystified Posted August 9, 2005 Author Report Share Posted August 9, 2005 So far so good tyme. Thanks scarecrow but I don't use any "automounters." :) Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 10, 2005 Report Share Posted August 10, 2005 (edited) Well, add yourself to the above group then to adjust the device permissions (under Arch Linux that I'm using the groupname is "optical", and it might be different in some other distro- but the logic is the same). Edited August 10, 2005 by scarecrow Quote Link to comment Share on other sites More sharing options...
tyme Posted August 12, 2005 Report Share Posted August 12, 2005 yeah, each distro does CD permissions differently - it can get confusing. when i first installed gentoo, i tried to add myself to the optical group out of habit! (i was an arch user for some time). the problem with gentoo is that from time to time they'll change the group setup, so disk used to have access to cdroms, but then they added the cdrom group, and apparently didn't tell people hehe Quote Link to comment Share on other sites More sharing options...
scarecrow Posted August 13, 2005 Report Share Posted August 13, 2005 Another problem is that some daemons don't need just the default user added to a specific group (which sometimes doesn't exist and has to be created), but also the presence of specific users (typically with no login rights)- and usually when installing from a GUI installer the post-install messages about creating user "blahblah" don't show up to assist you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.