E212: Can't write a file on /tmp on Linux
Posted on 2009-07-09
I have a problem with writing a file to /tmp as normal user (not root). I got this error when I wanted to write with vi.
"/tmp/test.txt" E212: Can't open file for writing
ls -ld /tmp
drwxr-xr-x 11 root root 4096 Jul 9 12:17 /tmp
Linux xxx-yyy 2.6.18-128.el5 #1 SMP Wed Dec 17 13:41:38 EST 2008 x86_64 x86_64 x86_64 GNU/Linux
Do you know which part I need to check?