HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   SSH error (http://www.howtoforge.com/forums/showthread.php?t=33393)

Tripple 7th April 2009 21:15

SSH error
 
I'm testing and trying ISPConfig 3.0.1.1

I created a client and a site.
Now I'm trying to play around.
FTP works fine. I can upload files to the site.
However, when I ssh to the server and try to close a file with vim I get:
E138: Can't write viminfo file /var/www/clients/client1/web2/.viminfo!

Looks like a permission problem.

Tripple 7th April 2009 21:32

Of course I get this error:
drwxr-xr-x 13 root root 4096 apr 7 23:08 web2

But all I tried was to setup a simple site for a testclient. He shouldn't get any errors, right?

Anyway, that client can even see the complete server:
$ cd /
$ ls
$ cd /var/www
$ ls

etc...

I guess I have to learn quite a lot. ISPConfig 3 looks like a nice but complicated piece of software.

till 8th April 2009 11:25

You missed to enable jailkit for the user.

Transmaniacon MC 13th April 2013 16:40

Rather than start a new thread, I found this one describing my problem exactly. I hope I behaved correctly.

I created site, I created FTP user and uploaded files, I created shell user and after editing and saving a file (using vi), I was greeted with:
Quote:

E138: Can't write viminfo file /var/www/clients/client0/web3/.viminfo!
The file is in fact saved as edited, but I get the error message.

So I searched and found this thread. After logging off, enabling jailkit for the shell user in ISPCONFIG interface, and then logging in again, I see nothing when performing "ls". Therefore, I disable jailkit for the user, and after logging in again the user can see and edit the files again, but again with the error message.

What does this mean? Can I "fix" things so the shell user doesn't get this warning?

Thank you,
TMC


All times are GMT +2. The time now is 11:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.