Permission denied

Hi,

I am facing a peculiar problem in my solaris server running on solaris10.

I am having a full permission on my home folder I am able to create files by using touch & by > operator tool.

But when I go for editing the file i am getting the error"permission denied".Here I attached the screenshots also

$ ls > abc

$ ls -ltr

-rw-rw-rw-1 buildbuild125 Oct 6 14:05 abc

$ vi abc

"/var/tmp/ExZBaalt" Permission denied

$

From the message I am getting that there is some permission issue with the /tmp . But i dont know how to came out of this issue..

Regards

Suseendran. A

[677 byte] By [susee_sun@yahoo.co.in] at [2007-11-26 10:37:22]
# 1

Verify the permissions on the /var/tmp directory, it should be:

myhost$ ls -ld /var/tmp/

drwxrwxrwt9 rootsys 1536 Oct 6 08:35 /var/tmp//

myhost$

If the permissions of /var/tmp is not such that you can write to it, and you don't have the privileges to change it, you can force vi to use another directory for temporary files by putting:

set directory=<new directory> in your .exrc

for example:

echo "set directory=/tmp" >> ${HOME}/.exrc

.7/M.

mAbrante at 2007-7-7 2:48:22 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Hi ,My /var/tmp doesn't have the RW permission for the other userI changed the permission by#chmod 1777 /var/tmpNow the problem is solved.It is working fine.Thanks to all RegardsSuseendran. A
susee_sun@yahoocoin at 2007-7-7 2:48:22 > top of Java-index,Solaris Operating System,Solaris 10 Features...