Click to See Complete Forum and Search --> : Set-uid?


stingray72
03-05-2001, 06:32 PM
When I start up xcdroast, I get this...

**Warning** Installation problem? No set-uid bit on /usr/bin/cdda2wav

**Warning** Installation problem? No set-uid bit on /usr/bin/cdrecord

I'm assuming this is some sort of file permission issue? can anyone help out?

Thanks
stingray72

fancypiper
03-05-2001, 08:13 PM
If you run it from a user's account, you get that error. You can set it up to run from a users account but I advise against it. Info on how to do it is in the package, so read the xcdroast local documentation as well as the CD burning HOWTO.

I would run it from root as you can destroy an entire partition with it (I did, I didn't RTFM), so set it up carefully.

I made an 800 MB partition just for burning cds so I wouldn't ruin any of my other partitions.

stingray72
03-05-2001, 10:02 PM
My errors come from running it as root?

fancypiper
03-05-2001, 10:30 PM
What does cdrecord -scanbus report?

stingray72
03-05-2001, 11:11 PM
cdrecord -scanbus looks like this....

Cdrecord 1.9 (i686-pc-linux-gnu) Copyright (C) 1995-2000 Jörg Schilling
Linux sg driver version: 2.1.39
Using libscg version 'schily-0.1'
scsibus0:
cdrecord: Warning: controller returns wrong size for CD capabilities page.
0,0,0 0) ' ATAPI ' '52X CDROM ' '1.40' Removable CD-ROM
0,1,0 1) 'HP ' 'CD-Writer+ 8100 ' '1.0g' Removable CD-ROM
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *

fancypiper
03-06-2001, 08:27 PM
I have a feeling you may have overlooked the documentation that comes with the program:

/usr/doc/xcdroast-<version no>/README.atapi

/usr/doc/xcdroast-<version no>/README.nonroot

Also, read the NHFs:
X-CD-Roast (http://www.linuxnewbie.org/nhf/intel/software/xcdroast.html)
Easy Addition of an IDE CD-Writer to a Linux/Redhat PC (http://linuxnewbie.org/nhf/intel/software/cdrecord_cdr.html)

b]0,1,0 1) 'HP ' 'CD-Writer+ 8100 ' '1.0g' Removable CD-ROM[/b]

This tells us that you have a CD-Writer installed as /dev/hdd (second drive on second IDE controller cable) and that your system has the module for scsi emulation (you need this to record).

The next step is to tell Linux about this drive. More info about your system os needed.

What boot loader do you use? This is usually used with an append statememt to the Linux boot loader (lilo, grub, etc).

I use lilo, so I added append="hdd=ide-scsi" to the linux section, as my cd-rw drive is the slave on the secondary IDE cable. Since you have 2 cdrom drives, you probably need an "exclude" as well. See the CD Writing HOWTO (http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO.html) for detailed info.

Then you need to insert the module with a startup script. That will depend on your distro. You can place insmod ide-scsi in a start-up script (automatic) or I think you can run that from the command line.

Next, you need to remove your old link for your cdrom (/dev/cdrom) and replace it with a symbolic link to your scsi emulated device

Last, edit your /etc/fstab to reflect your cd writer. It should work after you configure it properly.