Sorry, I think I’ve not got my concern solved here. Let me rephrase my question: “How can I chmod /tmp/ 777 without risking my server security?” A few days ago, when I chmod 777 the directory, someone compromised my server. Can anyone give me a solution?
Thanks a lot..
But, even if I can protect the existing files, doesn’t it still allow others to put or execute files in the directory? I asked this because it happened already.