Error about Ghostscript

Kurt Pfeifle k1pfeifle at gmx.net
Wed Oct 17 02:19:39 PDT 2007


chris wrote:

> BTW, a last question:
> 
> all the filters run by cups is run as user lp ?
> 
> And if I run lp by root 

You mean "if I print a file as root, using the 'lp' command" ?

> there a files in var/spool/cups/ like
> -rw------- root sys   c00001   d00001-001

Well, the permissions should be '-rw-r-----', not '-rw-------".
The lines should read s.th. like

  -rw-r----- 1 root lp    223967 Oct 17 02:22 d88264-001
  -rw-r----- 1 root lp       859 Oct 17 02:22 c88264

or, in case your system uses "Group sys" in cupsd.conf:

  -rw-r----- 1 root sys   223967 Oct 17 02:22 d88264-001
  -rw-r----- 1 root sys      859 Oct 17 02:22 c88264

> How the lp access it? (now my cups seems can access it and no permission error )


Well, by *default* your filters and backends will run as 'lp', while
cupsd itself runs as 'root'.

>From what your above permissions for the c00001 file tells, this is
somehow different for you. *IF* in your case the filters run as root,
it could work.

See also

   http://localhost:631/help/ref-cupsd-conf.html?TOPIC=References&QUERY=

for explanations about the "User", "Group" and "TempDir" directives.

-- 
Kurt Pfeifle
System & Network Printing Consultant ---- Linux/Unix/Windows/Samba/CUPS
Infotec Deutschland GmbH  .....................  Hedelfinger Strasse 58
A RICOH Company  ...........................  D-70327 Stuttgart/Germany




More information about the cups mailing list