permissions for interface filters

Greg Saunders greg at taord.com
Mon Dec 13 20:53:05 PST 2010


I have an old style printer "null_printer" that requires an interface filter.

On my Ubuntu machine, I had to create

/etc/cups/interfaces

as it doesn't exist by default.

/etc/cups
drwxr-xr-x 2 root lp   4096 2010-12-13 21:14 interfaces

I added the filter

sudo lpadmin -p null_printer -i /home/greg/projects/printtrack/myfilter.py

which seems to work correctly as I have

greg at greg-laptop:~$ ls -l /etc/cups/interfaces
-rwxr-xr-x 1 root root 141 2010-12-13 21:14 null_printer

However, submitting a job fails with the following in the cups error log:

D [13/Dec/2010:21:07:20 -0700] [Job 161] Started filter /etc/cups/interfaces/null_printer (PID 14825)
D [13/Dec/2010:21:07:20 -0700] [Job 161] /etc/cups/interfaces/null_printer: Permission denied

Arg! I know this is simple but ...

Any ideas?

Thanks
Greg




More information about the cups mailing list