Permission Error with Interface Script

Corwin lskalka at gmail.com
Wed Feb 8 13:26:37 PST 2012


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.




More information about the cups mailing list