[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: cannot print, something wrong with cups server



Tim Waugh <twaugh redhat com> wrote:
> On Tue, 2008-01-22 at 22:09 -0300, Horst H. von Brand wrote:
> > I've seen non-functioning due to:
> > 
> > - Bad permissions on /dev/bus/usb/*/* for a printer (should be user root,
> >   group lp, with permissions rw-rw---)
> 
> No, that is not correct.  Group lp should have rw access, but this is
> done using ACLs.  So the ownership and permissions should be root:root
> rw-r----- but there should also be an ACL granting rw access for group
> lp, and an ACL granting rw access for each console user.

The printer here is /dev/bus/usb/001/004, freshly booted after yesterday's
updates for x86_64:

   [root quelen mail]# ls -l /dev/bus/usb/001/004 
   crw-r--r-- 1 root root 189, 3 2008-01-23 09:15 /dev/bus/usb/001/004
   [root quelen mail]# getfacl /dev/bus/usb/001/004
   getfacl: Removing leading '/' from absolute path names
   # file: dev/bus/usb/001/004
   # owner: root
   # group: root
   user::rw-
   group::r--
   other::r--

/dev/usb/lp0 shows exactly the same.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]