Version: (using KDE KDE 3.0.99) Installed from: Compiled From Sources Compiler: GCC 3.2 Mandrake 9.0 defaults OS: Linux When I try to mount either my cdrom or my cd burner with devices:/ or on the desktop, I get an error saying "Mount: Only root can do that." On the command line, "mount /mnt/cdrom" and "mount /dev/hdc" work fine. So does unmounting from devices:/ Here is my fstab: /dev/hda5 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 /dev/hda8 /home ext3 defaults 1 2 /dev/hdc /mnt/cdrom iso9660 users,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0 0 0 /dev/scd0 /mnt/cdrom2 auto users,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0 0 0 /dev/hda1 /mnt/windows vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 none /proc proc defaults 0 0 none /tmp tmpfs defaults 0 0 /dev/hda7 /usr ext3 defaults 1 2 /dev/hda6 swap swap defaults 0 0
Subject: Re: New: can't mount cdrom devices Hi > > When I try to mount either my cdrom or my cd burner with devices:/ or on the desktop, I get an error saying "Mount: Only root can do that." On the command line, "mount /mnt/cdrom" and "mount /dev/hdc" work fine. So does unmounting from devices:/ > > Here is my fstab: > /dev/hda5 / ext3 defaults 1 1 > none /dev/pts devpts mode=0620 0 0 > /dev/hda8 /home ext3 defaults 1 2 > /dev/hdc /mnt/cdrom iso9660 users,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0 0 0 > /dev/scd0 /mnt/cdrom2 auto users,iocharset=iso8859-1,codepage=850,noauto,ro,umask=0 0 0 > /dev/hda1 /mnt/windows vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 > none /proc proc defaults 0 0 > none /tmp tmpfs defaults 0 0 > /dev/hda7 /usr ext3 defaults 1 2 > /dev/hda6 swap swap defaults 0 0 > That's strange. Under certain circumstances "mount /dev/hdc /mnt/cdrom" seems not to work as a user, although both are correctly in the fstab. The bad thing is if a user has more then one device pointing to one mount point and the other way round :( I'll try to only specify the mountpoint. Do you use RCx, CVS HEAD or CVS BRANCH_3_1 ? Kind regards Joseph Wenninger
I'm using qt from qt-copy HEAD about five days ago, and KDE 3.1RC5 from ftp.kde.org. You are right, on the command line "mount /dev/hdc /mnt/cdrom" generates this error message. I'm not sure why. Maybe you could check if you need to specify both the device and the mountpoint?
I know what's the problem: Mounting a device with this syntax: mount <device> <mntpoint> is only permited to the root user, because mount doesn't read de fstab config, just mount whatever device in <device> in <mntpoint> When doing like this: mount <mntpoint> Mount parses the fstab looking for an entry for that mount point, and, if you have enough permissions it's mounted. In devices:/ every device should be mounted like in the second way, reading fstab. Another thing. When using supermount, it also trys to mount the device. And that should't be done, because a supermounted device is always mounted. Should i report this in another bug also? Bye
In 3.4 devices:/ ioslave was replaced with media:/ which doesn't show the problem reported.