Making chmod changes static

Simon Barner barner at in.tum.de
Mon May 31 13:59:33 PDT 2004


> I need to make both the floppy drive (fd0), the internal zip dive (afd0) 
> and the cdrom (acd0) usable by any user without having to use 'sudo' or go
> the 'su' route.

Hi,

you want /dev/devfs.conf (see devfs(8) for more details).

E.g.:

# Commonly used by many ports
link    acd0    cdrom
perm    cdrom   0660
own     cdrom   root:operator

# burncd
perm    acd0    0660

# xcdroast
perm    xpt0    0660
perm    pass0   0660


This will make your setting persisting over reboots.
In order to apply your changes to that file (without rebooting),
simply run (as root)

/etc/rc.d/devfs restart

Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040531/752d9fee/attachment.bin


More information about the freebsd-questions mailing list