LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   KDE cannot mount cdrom (https://www.linuxquestions.org/questions/linux-newbie-8/kde-cannot-mount-cdrom-4175426888/)

cristi92b 09-12-2012 09:56 AM

KDE cannot mount cdrom
 
I try to mount a dvd with dolphin but it tells me:
Code:

An error occurred while accessing 'CD', the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sr0 on /mnt/cdrom

It's an ATA DVD-RW drive, user is in cdrom and cdrw groups.

USB works.

Code:

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda5              /boot                  ext2            noauto,noatime  1 2
/dev/sda6              /                      ext4            noatime        0 1
/dev/sda7              none                    swap            sw              0 0
/dev/sda2              /Windows/C              ntfs            noatime        0 1
/dev/sda3              /Windows/D              ntfs            noatime        0 1
/dev/cdrom              /mnt/cdrom              auto            noauto,ro      0 0
/dev/fd0                /mnt/floppy            auto            noauto          0 0

Also, /dev/sda5 won't mount on /boot
Code:

An error occurred while accessing '64.0 MiB Hard Drive', the system responded: The requested operation has failed.: Error mounting: mount exited with exit code 1: helper failed with:
mount: only root can mount /dev/sda5 on /boot

How can I solve this?
-------------
Code:

$ mount /dev/cdrom /mnt/cdrom
mount: only root can do that
$ mount /dev/sr0 /mnt/cdrom
mount: only root can do that


--------------

KDE version: 4.8.5

Distribution: Gentoo with vanilla kernel 3.2.21

cristi92b 09-12-2012 11:04 AM

It works, I edited fstab:

Code:

# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed); notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda5              /boot                  ext2            noauto,noatime  1 2
/dev/sda6              /                      ext4            noatime        0 1
/dev/sda7              none                    swap            sw              0 0
/dev/sda2              /Windows/C              ntfs            noatime        0 1
/dev/sda3              /Windows/D              ntfs            noatime        0 1
/dev/cdrom              /mnt/cdrom              auto            noauto,ro,users 0 0
/dev/fd0                /mnt/floppy            auto            noauto          0 0

Problem solved!

added users to /dev/cdrom opts.


All times are GMT -5. The time now is 01:13 PM.