Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 May 2004 22:59:58 +0200
From:      Simon Barner <barner@in.tum.de>
To:        Gerard Seibert <gerard-seibert@rcn.com>
Cc:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Making chmod changes static
Message-ID:  <20040531205958.GA9354@zi025.glhnet.mhn.de>
In-Reply-To: <Pine.WNT.4.60.0405311632470.2172@Treneq>
References:  <Pine.WNT.4.60.0405311632470.2172@Treneq>

next in thread | previous in thread | raw e-mail | index | archive | help

--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

> I need to make both the floppy drive (fd0), the internal zip dive (afd0)=
=20
> 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

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFAu5zOCkn+/eutqCoRAjQHAKCP0nBJgQIxekb4a8WKeXaVIonTIgCeKnPq
fBXvhqQZQsTvEpuXUO1WsQw=
=C22O
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040531205958.GA9354>