my printer stopped working, Epson USB model. So I went to the command line and did a cat FILE | lp and I got an error saying it couldn't write to /var/tmp /var was root root dwr-wr--- I chmodded it to 777 and now I can print. what should /var file permissions be??? -- Paul Cartwright Registered Linux user # 367800 X-Request-PGP: http://home.comcast.net/~p.cartwright/wsb/key.asc
On Monday 07 March 2005 23:05, Paul Cartwright wrote:
my printer stopped working, Epson USB model. So I went to the command line and did a cat FILE | lp
and I got an error saying it couldn't write to /var/tmp /var was root root dwr-wr--- I chmodded it to 777 and now I can print. what should /var file permissions be???
/var should be 0755 /var/tmp should be 1777 (the sticky bit should be set, just like for /tmp)
and I got an error saying it couldn't write to /var/tmp /var was root root dwr-wr--- I chmodded it to 777 and now I can print. what should /var file permissions be???
/var should be 0755 /var/tmp should be 1777 (the sticky bit should be set, just like for /tmp)
On Monday 07 March 2005 5:14 pm, Anders Johansson wrote: thanks! /var/tmp was 1777, but somehow /var had changed, so I couldn't ( as a user) write to it, so printing stopped. very strange. -- Paul Cartwright Registered Linux user # 367800 X-Request-PGP: http://home.comcast.net/~p.cartwright/wsb/key.asc
On Tuesday 08 March 2005 00:29, Paul W. Abrahams wrote:
On Monday 07 March 2005 5:14 pm, Anders Johansson wrote:
/var/tmp should be 1777 (the sticky bit should be set, just like for /tmp)
Why is that?
Same reasons as for /tmp. Because multiple users should be able to write to the directory, and you don't want users being able to delete or modify other users' files
participants (3)
-
Anders Johansson
-
Paul Cartwright
-
Paul W. Abrahams