I'm guessing your desktop session gave you the right to access the cdrom  but
that doesn't apply to the hardware on the system in general, and it wouldn't
apply if you had logged in via ssh, or if there were more than one desktop
session running on your system.

But you have to admit, there's no doubt root will have the access rights...

Joe

[EMAIL PROTECTED] wrote:
> * joe <[EMAIL PROTECTED]> [10-22-07 21:50]:
>> If the hwinfo command were setuid root, I'd agree with you. It is
>> executable by non-root, but that does not give the user running it
>> superuser rights, so I'd expect some "permission denied" and the like.
> 
>> So, to be sure, I'd either run it as root, or with sudo.
> 
> 
> note, as {USER}:
> 22:48 wahoo:~ > hwinfo --cdrom 
> 24: IDE 02.0: 10602 CD-ROM (DVD)
>   [Created at block.195]
>   UDI: /org/freedesktop/Hal/devices/storage_serial_428599
>   Unique ID: 90A1.+Bvv51Rpzz4
>   Parent ID: H0_h.tPqwEZqhzJB
>   SysFS ID: /block/hdc
>   SysFS BusID: 1.0
>   SysFS Device Link: /devices/pci0000:00/0000:00:06.0/ide1/1.0
>   Hardware Class: cdrom
>   Model: "PLEXTOR DVDR PX-716A"
>   Vendor: "PLEXTOR"
>   Device: "DVDR PX-716A"
>   Driver: "AMD_IDE", "ide-cdrom", "ide-cdrom"
>   Device File: /dev/hdc
>   Device Files: /dev/hdc, /dev/disk/by-id/ata-PLEXTOR_DVDR_PX-716A_428599
>   Device Number: block 22:0
>   Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD+R, DVD+RW, DVD+DL
>   Size: 0 sectors a 512 bytes
>   Drive status: no medium
>   Config Status: cfg=no, avail=yes, need=no, active=unknown
>   Attached to: #7 (IDE interface)
>   Drive Speed: 40
> 
> 25: IDE 03.0: 10602 CD-ROM (DVD)
>   [Created at block.195]
>   UDI: /org/freedesktop/Hal/devices/storage_serial_024460
>   Unique ID: cBQ5.wgZqaXHt7W7
>   Parent ID: H0_h.tPqwEZqhzJB
>   SysFS ID: /block/hdd
>   SysFS BusID: 1.1
>   SysFS Device Link: /devices/pci0000:00/0000:00:06.0/ide1/1.1
>   Hardware Class: cdrom
>   Model: "PLEXTOR CD-R PX-320A"
>   Vendor: "PLEXTOR"
>   Device: "CD-R PX-320A"
>   Driver: "AMD_IDE", "ide-cdrom", "ide-cdrom"
>   Device File: /dev/hdd
>   Device Files: /dev/hdd, /dev/disk/by-id/ata-PLEXTOR_CD-R_PX-320A_024460
>   Device Number: block 22:64
>   Features: CD-R, CD-RW, DVD
>   Size: 0 sectors a 512 bytes
>   Drive status: no medium
>   Config Status: cfg=no, avail=yes, need=no, active=unknown
>   Attached to: #7 (IDE interface)
>   Drive Speed: 40
>                   
> 
> 
> 
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to