Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Can only read/mount a CD with root user!

  1. #1

    Default Can only read/mount a CD with root user!

    When I click on the CD icon in Dolphin (using KDE), I get the error:

    Code:
    Device does not have read permissions for this account. Check the read permissions on the device.
    If I open a SuperUser Dolphin, I can click on the CD icon and it shows me the files in there! How do I fix this?

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Can only read/mount a CD with root user!

    In Dolphin, where is this "icon" located? Normally, for Data disks, the Device Manage should show a Data disk and ask to open it with different applications, including Dolphin. If the disk was not mounted, it can be opened from the "Places" section on the bottom left when displayed. You normally can not open it from the "My Computer" which is still running Konqueror while Dolphin is the anointed one for KDE to use. As long as I open it up from the Device Manage or the Dolphin Places, it does seem to work for me. What kind of disk is this really? I am using openSUSE 11.4, 64 bit and KDE 4.6.0, what version might you be using?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3

    Default Re: Can only read/mount a CD with root user!

    OpenSUSE 11.3, KDE 4.4.4

    When I plug in the CD, it does pop up with a window asking what to do with it. No matter what I choose it fails. I cannot read the CD, and I've been unable to mount it. It's apparently at /dev/sr0 but attempts to mount that (or /dev/sdc0 which points to that) have all failed! Any ideas?

  4. #4
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,498
    Blog Entries
    3

    Default Re: Can only read/mount a CD with root user!

    Quote Originally Posted by 6tr6tr View Post
    OpenSUSE 11.3, KDE 4.4.4

    When I plug in the CD, it does pop up with a window asking what to do with it.
    You can get that popup back by clicking on the USB icon in the tray.

    When that window is showing, there should be a little image that maybe looks like a USB connector. Click on that to mount the disk.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  5. #5

    Default Re: Can only read/mount a CD with root user!

    Quote Originally Posted by nrickert View Post
    You can get that popup back by clicking on the USB icon in the tray.

    When that window is showing, there should be a little image that maybe looks like a USB connector. Click on that to mount the disk.
    You're misunderstanding me. If I click that USB image to mount it, it fails. The only way I can mount it is as root. I want to be able to mount it as a regular user.

  6. #6
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    12,498
    Blog Entries
    3

    Default Re: Can only read/mount a CD with root user!

    It's normal to need root. The device notifier (which produces that popup) is supposed to be communicating with a root daemon that handles the mounting. That works for me, and it worked back when I was running 11.3 with KDE 4.4.4. I'm not sure what is broken in your setup.
    openSUSE Leap 15.1; KDE Plasma 5;
    testing Leap 15.2Alpha

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,284
    Blog Entries
    1

    Default Re: Can only read/mount a CD with root user!

    It's normal to need root. The device notifier (which produces that popup) is supposed to be communicating with a root daemon that handles the mounting. That works for me, and it worked back when I was running 11.3 with KDE 4.4.4. I'm not sure what is broken in your setup.
    @nrickert: No, if all is well, it should be possible to mount as user via the desktop, but the right policies and permissions have to be set correctly.

    @6tr6tr: Two possibilities come to mind

    1. Are you a member of the cdrom group?

    Code:
    ~> ls -l /dev/sr0
    brw-rw----+ 1 root cdrom 11, 0 2011-07-13 12:54 /dev/sr0
    2. IIRC, KDE4.4 uses HAL for removable device mounting (unlike KDE4.6 onwards).

    I think you can do something like this to mount (as user):

    Code:
    udisks --mount /dev/sr0
    which should cause the filesystem to be mounted under /media/... Use Dolphin to check. That work alright?

    FWIW, KDE4.6.X is a vast improvement over KDE4.4.X, so consider upgrading to that (even if using openSUSE 11.3). I did and haven't regretted it.
    Last edited by deano_ferrari; 13-Jul-2011 at 02:41.

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,284
    Blog Entries
    1

    Default Re: Can only read/mount a CD with root user!

    BTW, this thread reminds me of another that I posted in:

    KDE4.3+ won't mount CD/DVD: Workarounds

    This might convince you just to upgrade...

  9. #9

    Default Re: Can only read/mount a CD with root user!

    Quote Originally Posted by deano_ferrari View Post
    @nrickert: No, if all is well, it should be possible to mount as user via the desktop, but the right policies and permissions have to be set correctly.

    @6tr6tr: Two possibilities come to mind

    1. Are you a member of the cdrom group?

    Code:
    ~> ls -l /dev/sr0
    brw-rw----+ 1 root cdrom 11, 0 2011-07-13 12:54 /dev/sr0
    2. IIRC, KDE4.4 uses HAL for removable device mounting (unlike KDE4.6 onwards).

    I think you can do something like this to mount (as user):

    Code:
    udisks --mount /dev/sr0
    which should cause the filesystem to be mounted under /media/... Use Dolphin to check. That work alright?

    FWIW, KDE4.6.X is a vast improvement over KDE4.4.X, so consider upgrading to that (even if using openSUSE 11.3). I did and haven't regretted it.
    Hmmm, are there any risks in upgrading to 4.6?

    I tried this and it did not work:
    Code:
    sudo mkdir /mnt/cdrom
    sudo mount /dev/sr0 /mnt/cdrom
    I get the errors:
    Code:
    mount: block device /dev/sr0 is write-protected, mounting read-only
    mount: you must specify the filesystem type
    And it's not mounted.

    I get the same issue with udisks:
    Code:
    user:/> udisks --mount /dev/sr0
    Mount failed: Error mounting: mount: block device /dev/sr0 is write-protected, mounting read-only
    mount: you must specify the filesystem type
    I tried adding myself to group cdrom, this doesn't work either.

  10. #10
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Can only read/mount a CD with root user!

    On 2011-07-13 22:06, 6tr6tr wrote:

    > I tried this and it did not work:
    >
    > Code:
    > --------------------
    > sudo mkdir /mnt/cdrom
    > sudo mount /dev/sr0 /mnt/cdrom
    > --------------------


    Do not use sudo. Use "su -".


    > I get the errors:
    >
    > Code:
    > --------------------
    > mount: block device /dev/sr0 is write-protected, mounting read-only
    > mount: you must specify the filesystem type
    > --------------------
    >
    > And it's not mounted.


    So, did you do what it says? Specify the type?


    In the CLI, you can not mount as user, unless you define an entry in fstab.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •