[Bug 79436] Filename not quoted when calling cdrecord

Facundo Batista facundo at taniquetil.com.ar
Mon Jan 15 19:25:13 UTC 2007


Public bug reported:

Binary package hint: serpentine

If I add a file named, for example (quotes for clarity) "03. Salsa.wav"
to the main window, Serpentine uses that name (without the quotes) when
calling cdrecord, actually "breaking" the command line.

Example of real life:

mirta at selene:~$ serpentine --debug
launching command: cdrecord fs=16m dev=/dev/hdc -eject driveropts=burnfree -v -copy -audio -pad /home/mirta/tmpAhl1nw.wav -copy -audio -pad /home/mirta/tmpGR3NXF.wav -copy -audio -pad /home/mirta/music/03. Salsa.wav -copy -audio -pad /home/mirta/tmpLVZAYK.wav -copy -audio -pad /home/mirta/tmpBlpZrl.wav -copy -audio -pad /home/mirta/tmpzlfGT8.wav -copy -audio -pad /home/mirta/tmpU86ZnR.wav .......

That leads to cdrecord giving a cryptic message of error (No such file
or directory. Cannot open ''.), and then Serpentine saying that an error
ocurred.

If I call cdrecord with the same as before but that problematic filename
quoted, like the following sentence, everything goes ok:

cdrecord fs=16m dev=/dev/hdc -eject driveropts=burnfree -v -copy -audio
-pad /home/mirta/tmpAhl1nw.wav -copy -audio -pad
/home/mirta/tmpGR3NXF.wav -copy -audio -pad "/home/mirta/music/03.
Salsa.wav" -copy -audio -pad /home/mirta/tmpLVZAYK.wav -copy -audio -pad
/home/mirta/tmpBlpZrl.wav -copy -audio -pad /home/mirta/tmpzlfGT8.wav
-copy -audio -pad /home/mirta/tmpU86ZnR.wav .......

Regards,

** Affects: serpentine (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
Filename not quoted when calling cdrecord
https://launchpad.net/bugs/79436




More information about the desktop-bugs mailing list