Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cups - print job owner
Date: Fri, 17 May 2013 17:12:09
Message-Id: 20130517171220.GG19683@syscon7.inet
In Reply to: [gentoo-user] cups - print job owner by Joseph
1 On 05/17/13 07:32, Joseph wrote:
2 >Does anybody know which file control print job ownership?
3 >
4 >I have:
5 >drwx--x--- 3 root lp /var/spool/cups
6 >-rw------- 1 root lp 910 May 17 06:52 c02986
7 >-rw-r----- 1 root lp 391367 May 17 06:51 d02986-001
8 >
9 >so being in "lp" group doesn't help me at all, as only root can delete the print job.
10 >
11 >--
12 >Joseph
13
14 I think it is a bug in cups based on red-hat forum posting:
15 https://bugzilla.redhat.com/show_bug.cgi?id=432029
16
17 Additional info:
18 the permissions within the package as per spec are:
19 %dir %attr(0755,root,sys) /etc/cups
20 %dir %attr(1700,root,sys) /var/spool/cups/tmp
21
22 Those lines should probably read:
23
24 %dir %attr(0775,root,sys) /etc/cups
25 %dir %attr(1770,root,sys) /var/spool/cups/tmp
26
27 as cups-1.1.22rc1/scheduler/conf.c:497
28 chmod(ServerRoot, 0775);
29 and conf.c:551:
30 chmod(TempDir, 01770);
31
32 --
33 Joseph