Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 May 2007 22:17:20 +0200
From:      Roland Smith <>
To:        Anton Galitch <>
Subject:   Re: Anyone could make Epson Stylus cx4700 work?
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help

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

On Tue, May 15, 2007 at 04:06:07PM -0300, Anton Galitch wrote:
>  Thanks Roland, I put what you have said to /etc/devfs.rules and it print=
>  the test page well =3D)
>  The only problem now is Epson Inkjet Tool that shows ink levels, cleans
>  heads, etc when I click on Show ink level it tells:
>  Cannot open /dev/ulpt0 read/write: Permission denied

That tool needs to read and write to /dev/ulpt0, which it can't, because
you've set the permission for 'others' to 0.

Basically you have two choices here,

1) Change the mode for ulpt0 to 666. This means everybody can read/write
   to this device. This is unsafe on a multi-user system or on a
   publicly accessible server.
2) change the group of the program to 'cups', and set it's setgid bit
   (chmod g+s ...). This means that the program will assume the group
   'cups' when it starts, giving it access to the device.

IMHO (2) is the best solution, because it gives the program in question
enough rights to work, without exposing the rest of the system

[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v2.0.3 (FreeBSD)



Want to link to this message? Use this URL: <>