Permission Error with Interface Script

Corwin lskalka at gmail.com
Fri Feb 10 11:39:00 PST 2012


Indeed that was the problem! Thanks a lot!

> Maybe SELinux/AppArmor is preventing it from being run?
>
>
> On Feb 8, 2012, at 1:26 PM, Corwin wrote:
>
> > Hello,
> >
> > Im running cups on Ubuntu 11.10. I am trying to attach a python script to run whenver someone is submitting a job:
> >
> > # lpadmin -p test -E -i /scripts/test
> >
> > I had to create the /etc/cups/interfaces  directory manually for this command to work.
> >
> > The problem I have right now is that the permissions are as follows:
> >
> > drwxr-xr-x 2 root root 4.0K 2012-02-08 12:25 interfaces
> > -rwxr-xr-x 1 root root 33 2012-02-08 12:25 /etc/cups/interfaces/test
> >
> > But this will give me the following error:
> >
> > D [08/Feb/2012:13:25:16 -0800] PID 5961 (/etc/cups/interfaces/test) stopped with status 113 (Permission denied)
> >
> > I tried changing the owner of the file to lp, but that produces an Insecure Permissions error.
> >
> > Thanks a lot for all the help.
> > _______________________________________________
> > cups mailing list
> > cups at easysw.com
> > http://lists.easysw.com/mailman/listinfo/cups
>
> _________________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>





More information about the cups mailing list