Click to See Complete Forum and Search --> : CUPS Defaul Spool Permissions


TFH3
01-07-2003, 04:19 PM
I am running RH 8.0 and am using CUPS to manage two printers attached via ethernet/hub to my network.

The printers are sent up as raw print queues on the Linux Box. I have several windows workstations connecting to the printers via Samba.

Everything works great except for one problem....

The default permissions on the spool folder /var/spool/cups are as follows (700) Read, Write, Execute for Owner. The owner is LP and the group is SYS.

With the permissions set to default my windows printers can not connect to spool their print jobs.

If i change permissions on the folder to 777 and allow all access they can print perfect.

If I REBOOT the server or RESTART the CUPS service the folder resets itself to 700 and I can't print until I change it back to 777.

How do I give my users the correct permissions or permanently change the spool folder permissions? I am sure I am missing something fundamental about user permissions and printing.

Thanks
Tim

TFH3
01-10-2003, 06:01 PM
OK I figured out what I was doing wrong and figured I would post the solution in case someone else does the same thing.

The default permissions on the /var/spool/cups file don't make a difference. The samba configuration was at fault.

My smb.conf file listed /var/spool/cups as the path under the printer share. Changing this to /var/spool/samba and giving this folder 777 permissions resolved the problem. When I reboot the /var/spool/samba retains the appropriate permissions. The cups software still has a log of the print job and I am happy.

I don't remember changing the path to /var/spool/cups in the first place, so I am not sure how that happened. I believe the smb.conf originally defaulted to /var/spool/samba.