View Single Post
Old 11th August 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

Quote:
Originally Posted by gosha View Post
why is it after restore /tmp is writable only by root?
I don't know, because you haven't posted any information about /tmp.

Is /tmp a separate filesystem?

How did you back up and how did you restore your system? If you used tar(1), and did not use the "p" option on restore, your file permissions and ownership will be broken, system-wide, and you will have to re-start your restore again.

But even, minimally, the output of:
Code:
$ ls -ld /tmp
would have been helpful.

However, I will guess, since guess is all that I can do, that you need to issue:
Code:
# chmod 1777 /tmp
I cannot tell you if you have a damaged system or not.
Reply With Quote