print spool directory filling up
Mike Brodbelt
m.brodbelt at acu.ac.uk
Thu Aug 10 14:25:01 GMT 2000
Michael Glauche wrote:
> > Lines from smb.conf
> >
> > printing = bsd
> > printcap name = /etc/printers.conf
> > load printers = yes
> > ; these commands are needed to print and remove print jobs
> > print command = /usr/ucb/lpr -r -P%p %s
> > lpq command = /usr/ucb/lpq -P%p
> > lprm command = /usr/ucb/lprm -P%p %j
> > Some entries in /usr/local/samba/print
> >
> > -rwx------ 1 mb9q users 2485713 Aug 9 15:07 mbpc.0kkF_F*
> > -rwx------ 1 mb9q users 2485713 Aug 9 15:03 mbpc.0pRpEa*
> > -rwx------ 1 mb9q users 2485713 Aug 9 15:00 mbpc.zd1gG_*
> >
<snip>
> > create mode = 0700
>
> could that be the problem ? (i.e. has lpr the rights to delete the file ?
> log in as the user that did the printing and try that lpr command on
> the spool file, and see if it gets deleted)
> </wild guess mode on>
I'd hazard a guess that that's not quite it. If it's created with 0700,
the user should have permissions on the file, but I suspect the
directory. To delete a file under any Unix, you need to have write
permission to the directory containing the file (as file deletion
involves removal of the directory entry). Set the permissions on
/usr/local/samba/print to 1777.
HTH
Mike.
More information about the samba-ntdom
mailing list