[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Privilege Question



On Fri, Nov 09, 2001 at 11:57:33PM -0800, Laurent de Segur wrote:
>I was wondering what type of privileges I need to give to /dev/hdb (cdrom
>device on my machine) to be able to access and eject the media.
>
>The current mode has been set at install time by default as: 'brw-rw----'
>and the file is owned by 'root disk' causing a program with open("/dev/hdb",
>...) or the command 'eject /cdrom' to fail executing.

Change the device to root:cdrom, 0660 and add yourself to group cdrom.

Regards,
-- 
Brendan O'Dea                                        bod@compusol.com.au
Compusol Pty. Limited                  (NSW, Australia)  +61 2 9810 3633



Reply to: