CD-RW changes all to root

NoOp glgxg at sbcglobal.net
Sat Dec 15 21:48:47 UTC 2007


On 12/15/2007 01:15 PM, Peter Garrett wrote:
> On Sat, 15 Dec 2007 12:57:01 -0800
> NoOp <glgxg at sbcglobal.net> wrote:
> 
>> Fixed - it's now installed. Found the fix from:
>> https://bugs.launchpad.net/ubuntu/+source/cdrkit/+bug/135254
>> 
>> and used:
>> $ sudo xcdroast -f /dev/cdrw
> 
> I'm puzzled - why are you running a cd burner as root ? (sudo) 
> 
> I use wodim here, and never need to run it as root. The binary is not even
> setuid :
> 
> -rwxr-xr-x 1 root root 359076 2007-08-10 22:01 /usr/bin/wodim
> 
> Peter
> 
> 

Only for the initial setup of xcdroast. When first installed (via
Synaptic or apt-get) and trying to run, xcdroast insists that you first
run as superuser to set up so that you can add non-root users. That is
where I ran into the wodim loop. Once I set it up (xcdroast) using the
bypass (-f /dev/cdrw) & added my username etc, xcdroast now works. I
think the problem was with the way xcdroast accesses wodim prior to
setup... I have just installed so still learning/trying to figure out.

The good news (I think) is that I burned the same files to the CD-RW
using xcdroast & now can actually run the file off of the CD. It's a
test demo of OpenOffice that I'm playing with. The files are still set
as root, but xcdroast wrote the directories as /home/ etc so OOo does
come up and run.





More information about the ubuntu-users mailing list