Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jul 2006 18:59:48 +0200
From:      Ulrich Spoerlein <uspoerlein@gmail.com>
To:        rotkap@gmx.de
Cc:        freebsd-ports@freebsd.org
Subject:   Re: print/cups-base 1.2.0_2 and locally connected printer
Message-ID:  <20060710165948.GA1026@roadrunner.buck.local>
In-Reply-To: <nchqn3-gu.ln1@news.t-online.com>
References:  <449DE614.3040204@spamcop.net> <449F43EF.6030107@spamcop.net> <200607011444.36821.david.marec@free.fr> <44A97652.7070003@freebsd.org> <i7bon3-2ig1.ln1@news.t-online.com> <44A9D741.8030909@spamcop.net> <nchqn3-gu.ln1@news.t-online.com>

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

--ikeVEW9yuYc//A+q
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Heino Tiedemann wrote:
> I found 2 Solutions fpr the permissions:
>=20
>=20
> Solution a)
>=20
> ,----
> | I've added the following to /etc/devfs.conf:
> | own     lpt0    root:cups
> | perm    lpt0    0660=20
> `----
>=20
>=20
>=20
> Solution b)
> ,----
> | Add following lines to /etc/devfs.rules:
> |
> | [system=3D10]
> | add path 'lpt*' mode 0660 group cups
> |=20
> | And following to /etc/rc.conf:
> |=20
> | devfs_system_ruleset=3D"system"
> `----
>=20
>=20
> Is there one way to prefer?

Solution a) only works for devices which are present when the system
boots up. It is fine for parallel port. Solution b) works for devices
that come and go, too. It is required for ulpt devices.

Ulrich Spoerlein
--=20
 PGP Key ID: 20FEE9DD				Encrypted mail welcome!
Fingerprint: AEC9 AF5E 01AC 4EE1 8F70  6CBD E76E 2227 20FE E9DD
Which is worse: ignorance or apathy?
Don't know. Don't care.

--ikeVEW9yuYc//A+q
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFEsoeE524iJyD+6d0RAnZAAKCwzJwcThCmZPUfxPkNQnDqJvJH9ACgs1WA
nIM2hzfw1MYQY/ZHrjK9x5s=
=0PoS
-----END PGP SIGNATURE-----

--ikeVEW9yuYc//A+q--



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