Can only read/mount a CD with root user!

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

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?

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,

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?

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.

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.

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?
~> ls -l /dev/sr0
brw-rw----+ 1 root cdrom 11, 0 2011-07-13 12:54 /dev/sr0
  1. 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):

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.

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…

Hmmm, are there any risks in upgrading to 4.6?

I tried this and it did not work:

sudo mkdir /mnt/cdrom
sudo mount /dev/sr0 /mnt/cdrom

I get the errors:

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:

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.

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)

> 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)

I don’t know what the type would be. It’s an audio CD.

On 2011-07-14 00:06, 6tr6tr wrote:

> I don’t know what the type would be. It’s an audio CD.

WHY DIDN’T YOU SAY SO BEFORE? :open_mouth:

It is not possible to mount them! Try a data CD.


Cheers / Saludos,

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

Like Carlos mentioned you cannot mount audio CD’s that way. However the ‘audiocd:/’ (KDE4) kioslave can be used to view audio trackes using Konqueror or Dolphin.

nope. audiocd:/ only works in super-user dolphin.

Also, I don’t get this. How am I supposed to import my CDs into Songbird or other applications if they can’t see the audio CD?

nope. audiocd:/ only works in super-user dolphin.

Also, I don’t get this. How am I supposed to import my CDs into Songbird or other applications if they can’t see the audio CD?

So, an audio CD, while the raw file names can be read, is not a data CD and is not mounted as an data CD is mounted. To read more about Audio CD’s here is a link to look at:

Compact Disc - Wikipedia, the free encyclopedia

Applications able and written to deal with Audio CD’s do not require a standard mounting to occur. If I might suggest a ripper application for Audio CD’s look to Asunder. You can search the name asunder when using the Packman repository where it is located and install it from there. I have used applications like KsCD when using KDE to play audio CD’s. There is an issue when there is more than one optical drive installed in that applications like KsCD will only use the device named /dev/cdrom of which only one device can be named. If you have two or more CD ROM drives, let us know about that.

Thank You,

Thanks! I hadn’t seen your other post.

Any idea why there isn’t some built in way for KDE to make an audio CD visible to the file system browser windows (and thus applications)?

Thanks! I hadn’t seen your other post.

Any idea why there isn’t some built in way for KDE to make an audio CD visible to the file system browser windows (and thus applications)?

So in Windows, you can “mount” an Audio CD to look at the file names, but they are not very useful and no one deals with an audio CD in that manner. For instance, no one would do a straight copy of the enormous WAV files that are the file type on this disk. Further, the WAV files themselves contain no information about the song, though text files can be placed on a Audio CD. In Linux, a program, designed to rip or play an audio CD simply does not need to mount it in the conventional way, though its mounted for use by that application. You need to center yourself on applications that work properly in your hardware configuration and not all programs that claim to work with Audio CD’s actually work acceptable with that task.

Thank You,

On 07/14/2011 04:36 PM, 6tr6tr wrote:
>
> deano_ferrari;2364237 Wrote:
>> Like Carlos mentioned you cannot mount audio CD’s that way. However the
>> ‘audiocd:/’ (KDE4) kioslave can be used to view audio trackes using
>> Konqueror or Dolphin.
>
> nope. audiocd:/ only works in super-user dolphin.

Are you a member of the audio group?


Kevin Miller
Juneau, Alaska
http://www.alaska.net/~atftb
“In the history of the world, no one has ever washed a rented car.”

  • Lawrence Summers

yep. Still no good.

So I have lost track of this message thread. Do you use KDE, correct? Do you have more than one CD/DVD drive? Have you been able to “play” a Audio cd using a program like the KDE CD player KsCD?

Thank You,