unable to open / create any file in vi

Hi,

I am unable to create/open any file in vi editor for normal user, though using root I am able to create/open any file, using redhat 5.5,

example
vi test

it showing nothing after entering command

i think you should try exporting the terminal type..

or maybe export EDITOR=vi

Thanks , I have done that already , the problem is still persists. with root id it is working fine, using normal user it is not working

Regards,

Manoj

Do you have permissions to read/edit the file? Do you have permission to create a new file in the current/target directory?

Yes I have , I have created new user, as per my understanding every user has right to create file in his home directory,

I have checked with same permission on another server also , it is working,

dont know why ti?

any idea?

Regards

Manoj

Manoj,

I am sure it will through some error...Please post that.

But generally if it is permission denied..if so please check the /tmp and /var/tmp size and the permissions.

try to create a file in /tmp. That will answer the permissions issue. /tmp is open to everyone.

Thanks, but currently /tmp has following permissions

drwxrwxrwt 11 root root 4096 Jun 2 09:18 /tmp.

Regards,

Manoj.

Root normally has an additional 5% disk space for administrative tasks. Are you out of disk space on your volumes?

df -h