On 05/17/13 07:32, Joseph wrote:
Does anybody know which file control print job ownership?

I have:
drwx--x---  3 root     lp    /var/spool/cups
-rw------- 1 root lp    910 May 17 06:52 c02986
-rw-r----- 1 root lp 391367 May 17 06:51 d02986-001

so being in "lp" group doesn't help me at all, as only root can delete the 
print job.

--
Joseph

I think it is a bug in cups based on red-hat forum posting:
https://bugzilla.redhat.com/show_bug.cgi?id=432029

Additional info:
the permissions within the package as per spec are:
%dir %attr(0755,root,sys) /etc/cups
%dir %attr(1700,root,sys) /var/spool/cups/tmp

Those lines should probably read:

%dir %attr(0775,root,sys) /etc/cups
%dir %attr(1770,root,sys) /var/spool/cups/tmp

as cups-1.1.22rc1/scheduler/conf.c:497
 chmod(ServerRoot, 0775);
and conf.c:551:
   chmod(TempDir, 01770);

--
Joseph

Reply via email to