2.6.10-ac2 - more cdrecord wierdness
I am trying to write a backup CD. The first write goes fine, I have rw permission on the device, I use /dev/hdc, all is fine. I can mount the CD, read it, etc.
However - it was written with the -multi option so I can add things to it, since most of my backups are 50MB at a time. When I try to get the size (using a perl script) which does:
cdrecord dev=/dev/hdc -msinfo
I get permission denied. Even if I set cdrecord setuid (as a test, I don't run that way).
Back to ide-scsi, the perl program allows me to have the best features of growisofs and some other usefulk features for backing up relatively small datasets on a single CD.
Just a FYI - I assume there's a good reason why reading the unclosed filesystem size would compromise security.
Quoted 2 lines · Bill Davidsen
Just a FYI - I assume there's a good reason why reading the unclosed filesystem size would compromise security.
It may just be an oversight in the built in list of "safe" commands. Do you know what command is being rejected ?
Quoted 7 lines · Alan Cox
Quoted 2 lines · Bill Davidsen
Just a FYI - I assume there's a good reason why reading the unclosed filesystem size would compromise security.
It may just be an oversight in the built in list of "safe" commands. Do you know what command is being rejected ?
Not yet. Finding out is on my to-do list for the weekend when I'm back near that machine, but that weekend also has football playoffs, two hockey games, a dinner and taking my wife to a movie. That means late Sunday night is the most likely :-(
Signature · 3 lines
bill davidsen <[email protected]> CTO, TMR Associates, Inc Doing interesting things with little computers since 1979.