Bug 39145

Summary: kio-audiocd gives no error message when device permissions are wrong
Product: [Unmaintained] kio Reporter: Moritz Moeller-Herrmann <moritz-kdebugs>
Component: audiocdAssignee: rik
Status: RESOLVED FIXED    
Severity: normal CC: ismail, katakombi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Moritz Moeller-Herrmann 2002-03-09 15:38:52 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kio-audiocd
Version:           KDE 2.9.0 3 (CVS >= 20020302)
Severity:          normal
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.18
OS/Compiler notes: 

I have my CD burner and DVD set up with ide-scsi emulation for cdwriting.

When I tried to rip with audiocd I got no sensible error message at all that my /dev/sg* devices had false permissions for cdparanoia.

I only got "/ not accessible". This is not a sensible error message nobody would get the idea that this was a permissions problem.

(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application manually changed)
Comment 1 Ismail Donmez 2003-06-19 20:41:18 UTC
Can confirm on kde cvs-head. 
Comment 2 icefox 2004-03-22 04:12:33 UTC
*** Bug 64906 has been marked as a duplicate of this bug. ***
Comment 3 icefox 2004-03-22 05:24:07 UTC
It when checking for a drive it puts out the correct error for:
-If the file even exists: ERR_DOES_NOT_EXIST
-If read permissions: ERR_CANNOT_OPEN_FOR_READING
-If write permissions: ERR_CANNOT_OPEN_FOR_WRITING
and finally defaults to just ERR_ACCESS_DENIED if it has read/write and the
file exists, but there was still and error.

Oh also change the string from "/" to the device name "/dev/cdrom" for example.
Comment 4 icefox 2005-07-26 16:03:26 UTC
See 108736 for more changes that were made for versions 3.5 and up