[Pkg-cups-devel] Bug#459731: Bug#459731: Permission error on ipp/http and lpr backend...

Martin Pitt mpitt at debian.org
Wed Jan 9 15:36:18 UTC 2008


Marco Gaiarin [2008-01-08 12:45 +0100]:
> After some weeks of woodoo rituals, human sacrifice and repetitive hit
> of my head on the wall, i finally found the trouble: the backend binary
> ipp/http and lpr on /usr/lib/cups/backend directory have 700
> permission.
> 
> Probably executed directly works, but i've verified that the 'beh'
> backend are executed with 'lp' user and so they have no access anymore
> to that backends.
> 
> A simply:
> 
> 	cd /usr/lib/cups/backend
> 	chmod 755 ipp http lpr
> 
> fix all the trouble.

Some backends need to be 700 so that cupsys executes them as root
(btw, 'lpr' does not exist -- do you mean 'lpd'?). So I think we
should rather do it the other way round and install beh as 0700. After
you do

  chmod 700 /usr/lib/cups/backend/{ipp,http,lpd,beh}

do things still work as you expect?

Thanks,

Martin

-- 
Martin Pitt        http://www.piware.de
Ubuntu Developer   http://www.ubuntu.com
Debian Developer   http://www.debian.org





More information about the Pkg-cups-devel mailing list