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 printed > the test page well =) > The only problem now is Epson Inkjet Tool that shows ink levels, cleans > heads, etc when I click on Show ink level it tells: > ERROR: > 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 much. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
pgpDs2N9rzhvw.pgp
Description: PGP signature