LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Problem automounting cd and USB (https://www.linuxquestions.org/questions/slackware-14/problem-automounting-cd-and-usb-697607/)

wufo 01-15-2009 05:15 PM

Problem automounting cd and USB
 
I can not auto mount anything as a normal user, only as root. I get the
"Unable to mount "1G Removable Volume":" error.
The cdrom line in fstab is commented out.
I have added the user to the plugdev group.
Here is the cdom(hdb) permissions:
$ ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2009-01-15 12:46 /dev/cdrom -> hdb
$ ls -l /dev/hdb
brw-rw-rw- 1 root cdrom 3, 64 2009-01-15 12:46 /dev/hdb

So, what else needs to be set up? First time using Slackware > 10.0.

tj

amani 01-15-2009 06:06 PM

see man automount

is the daemon running?

wufo 01-15-2009 06:25 PM

Maybe I wasn't clear and I shouldn't have called it auto mount. I guess it is more the HAL subsystem. Under Xfce I either insert a cd/dvd or plug in a USB thumb drive and it appears on the desktop, but if I try to access it as a normal user I get the cannot mount error. If I am logged in as root and click on the desktop icon it mounts and I can access it.

I hope this is more specific.

tj

onebuck 01-15-2009 06:54 PM

Hi,

Do you have your user in the 'plugdev' group?

I like to add the user(s) to the following groups; 'users floppy audio video cdrom plugdev'.

wufo 01-15-2009 07:45 PM

Yes, the user is in plugdev and cdrom.

tj

wufo 01-15-2009 07:58 PM

Problem solved
 
I found a post that had the same problem and after adding the user to the groups a complete REBOOT had to happen before the changes took effect. Rebooted and now cd/dvds and usb thumb drives can now be mounted by the user.

tj

guanx 01-15-2009 09:33 PM

Quote:

Originally Posted by wufo (Post 3410510)
I found a post that had the same problem and after adding the user to the groups a complete REBOOT had to happen before the changes took effect. Rebooted and now cd/dvds and usb thumb drives can now be mounted by the user.

tj

A re-login suffices.

onebuck 01-16-2009 07:58 PM

Hi,

Do you have your user in the 'plugdev' group?

I like to add the user(s) to the following groups; 'users floppy audio video cdrom plugdev'.


All times are GMT -5. The time now is 08:39 AM.