Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
lpr: unable to create temporary file
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Tue Feb 10, 2004 4:57 pm    Post subject: lpr: unable to create temporary file Reply with quote

I have done something i recognize now i shouldn't have done. i have moved my /usr to a separate partition and too my /var to a separate one. went fine, after a restart everything worked and so i thought i could delete the originals on the partition with /. This was not really good. Avter a time i thought that i don't get any emails. i gave it a /etc/init.d/postfix status and it said stopped. a postfix check told me that a few (about 20) permissions weren't ok. and then i saw that the permissions on both copied directories went to root.root and 760. i emerged postfix again and it did it. but now i get lpr: unable to create temporary file when i do e.g. $ df | lpr. when i do $ df > df.txt and then lpr df.txt it works and prints. root can print both ways. this only happens with normal users.
in /etc/cups/cupsd.conf i have set lp.lp for user and group which is cupsd running on (i think this is the default). i have changed permissions on /var/spool/cups to 777. but still the same message after trying to print.
i have tried an emerge -C cups && emerge cups as well as a simply remerging of cups, but nothing helped.

anyone ideas how to solve the problem with cups and e.g. an idea how to solve the problems with other permissions (I'm afraid that in a few days something other will give up working)



schurl
Back to top
View user's profile Send private message
roger_rabbit
n00b
n00b


Joined: 29 Dec 2003
Posts: 37
Location: georgia

PostPosted: Tue Feb 10, 2004 6:48 pm    Post subject: Reply with quote

:twisted:
_________________
----------------------------------------
compilation, compilation - whats the difference.
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Wed Feb 11, 2004 2:08 pm    Post subject: Reply with quote

:twisted:

I looked like the same when i saw what happened
Back to top
View user's profile Send private message
roger_rabbit
n00b
n00b


Joined: 29 Dec 2003
Posts: 37
Location: georgia

PostPosted: Fri Feb 13, 2004 6:18 pm    Post subject: Reply with quote

Quote:
cd /pub

Quote:
more beer

_________________
----------------------------------------
compilation, compilation - whats the difference.
Back to top
View user's profile Send private message
dangertools
Apprentice
Apprentice


Joined: 29 Dec 2003
Posts: 278
Location: Saalfelden, Austria

PostPosted: Sat Feb 14, 2004 11:33 am    Post subject: Reply with quote

I think i found now what to do. I've changed Permissions to 777 on /var/spool/fu/cups and to /var/tmp/ and now it works.


schurl
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum