This issue has been doing my head in for hours and to be honest I've just run out of ideas.
I'm trying to use libcdio to access my /dev/cd0 drive as a normal user (in group operator) but it just isn't having it. However, root works fine.
Testing with a couple of programs I've found the port libcdio-paranoia to be the easiest to try it out with.
Unable find or access a CD-ROM drive with an audio CD in it."
I've also tried
"**ERROR: fread (): Invalid argument"
Hopefully it's something simple but I can't for the life of me work out where this fread() is in the libcdio-paranoia source and what's causing the issue! I assume it's something to do with permissions but which permissions on what I have no idea.
It's worth mentioning that non-libcdio programs (eg. normal cdparanoia) don't have an issue with the drive when running as the user.
Hopefully someone can help.
Thanks
I'm trying to use libcdio to access my /dev/cd0 drive as a normal user (in group operator) but it just isn't having it. However, root works fine.
Testing with a couple of programs I've found the port libcdio-paranoia to be the easiest to try it out with.
cd-paranoia -v -Q
works fine as root but as a user in group operator it returns "Unable find or access a CD-ROM drive with an audio CD in it."
I've also tried
cd-paranoia -v -d /dev/cd0 -Q
which again works fine for root but as a user returns "**ERROR: fread (): Invalid argument"
Hopefully it's something simple but I can't for the life of me work out where this fread() is in the libcdio-paranoia source and what's causing the issue! I assume it's something to do with permissions but which permissions on what I have no idea.
It's worth mentioning that non-libcdio programs (eg. normal cdparanoia) don't have an issue with the drive when running as the user.
Hopefully someone can help.
Thanks