Joerg Schilling wrote:

>Ian Collins <[EMAIL PROTECTED]> wrote:
>
>  
>
>>Oops:
>># cdrecord -scanbus
>>Cdrecord-Clone 2.01.01a06 (i386-pc-solaris2.11) Copyright (C) 1995-2006
>>J�rg Schilling
>>Warning: Using USCSI interface.
>>/usr/bin/cdrecord.bin: No such file or directory. Cannot open
>>'/dev/rdsk/c1t0d0s2'. Cannot open SCSI driver.
>>/usr/bin/cdrecord.bin: For possible targets try 'cdrecord -scanbus'.
>>/usr/bin/cdrecord.bin: For possible transport specifiers try 'cdrecord
>>dev=help'.
>>    
>>
>
>Are you sure that cdrecord has been installed correctly?
>
>  
>
Should be, it's a build41 install.  I did the install with Live Upgrade,
maybe the package wasn't upgraded correctly?

>First, this is an old version that does not include DVD support in the 
>openSource variant.
>
>  
>
Odd.

>Second, if this is /usr/bin/cdrecord.bin, there should be a shell script 
>/usr/bin/cdrecord that uses ppriv(1) to run cdrecord. The ppriv setup in 
>/etc/security seems to be wrong.
>
>Note that cdrecord now runs completely root-less.....
>
>  
>
Ah, I get permission denied when running as non-root.

>What you see is a wrong error message, it should be "Permission denied"
>instead of "No such file or directory", but cdrecord does not remember the 
>old errno after trying about 20 other devices ;-)
>
>  
>
Odd indeed, the file is there and I was running as root.

# ls -l /usr/bin/cdrecord.bin
-r-xr-xr-x   1 root     bin       320868 May 26 14:42 /usr/bin/cdrecord.bin
# which cdrecord
/usr/bin/cdrecord

# more /usr/bin/cdrecord
<CDDL suff>
#ident  "@(#)cdrecord   1.1     06/04/06 SMI"
#
#
pfexec "`dirname $0`/`basename $0`.bin" $*

Ian

_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to