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

Bug#702227: Permission of the backend too strict for a backend chain (beh, jasmine)



Package: cups
Version: 1.4.4-7+squeeze2

If i need to chain some backend, eg because i need the Backend Error
Handler (beh, in the package 'foomatic-filters') or the 'jasmine'
backend (http://jasmine.berlios.de/dokuwiki/doku.php, non packaged)
i've found that the second backend cannot be launched.

Seems to me that cups drop privilege running the first backend as user
'lp', but some of the backend (eg, ipp) are set as 750 root.root, so
cannot get executed.

I've simply done (trying to disrupt original permission as little as
possible, so probably these permission are still wrong):

	cd /usr/lib/cups/backend-available
	chown .lp dnssd http ipp lpd serial usb
	chmod 751 dnssd http ipp lpd
	chmod 554 serial usb

but at every cups upgrade owner and mode of the backend get restored,
and chained backend stop to work.


I hope that this things can be fixed, or at least explained a bit in a
README.Debian.


Thanks.


Reply to: