Subject: Allow non-root users to access to CD-ROM and Floppy
To: NetBSD Users Mailing List <netbsd-users@NetBSD.org>
From: James Gray <marlin@sdf.lonestar.org>
List: netbsd-users
Date: 09/03/2004 23:36:33
Hello, I am trying to allow not root users to access CD-ROM and Floppy 
drives.
The relevant sections of my fstab are shown below:

/dev/cd0a    /cdrom   cd9660    ro,noauto    0    0
/dev/fd0a    /floppy    msdos      rw,noauto   0    0

the relevant folders and devices are shown below:

brw-rw-rw-   1   root   operator   6,   0 Sep   3 21:04 /dev/cd0a
brw-rw-rw-   1   root   operator   2,   0 Sep   3 21:04 /dev/fd0a

drwxr-xr-x    2   James  users   512 Sep   3 21:18 cdrom
drwxr-xr-x    2   James  users   512 Sep   3 21:17 floppy

"mount /floppy" and "mount /cdrom" works fine as root, but not when I'm 
logged in as "James". could someone tell me where I'm going wrong?


Thanks

James