We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
FTP User/Owner can't MKD - FIXED
-
- Posts: 10
- Joined: Sun Sep 07, 2014 5:57 am
FTP User/Owner can't MKD - FIXED
I have an issue with users not being able to add a directory via FTP to their public_html directory. They can add files no issues. Obviously, as this is the first time I have tried vestaCP and first time I have used Ubuntu Server I have had set up issues. This would appear the only one I can't find a solution for. Otherwise all is working fantastically, I have replaced vsftpd with proftpd. as originally FTP wouldn't work at all.
vesta core package Version: 0.9.8 (amd64) & Ubuntu 14.04 (x86_64).
If I can get this issue resolved I am definitely going live with this setup!
vesta core package Version: 0.9.8 (amd64) & Ubuntu 14.04 (x86_64).
If I can get this issue resolved I am definitely going live with this setup!
Last edited by uksitehost on Tue Sep 09, 2014 7:08 pm, edited 1 time in total.
-
- Posts: 10
- Joined: Sun Sep 07, 2014 5:57 am
Re: FTP User/Owner can't MKD
can anybody help?
Re: FTP User/Owner can't MKD
I can confirm I have the same issue. It is pretty much out of the box setup with proftpd.
-
- Posts: 10
- Joined: Sun Sep 07, 2014 5:57 am
Re: FTP User/Owner can't MKD
I don't know if this changes anything but my server is not a VPS, it's my own hardware in my own house.
-
- Posts: 10
- Joined: Sun Sep 07, 2014 5:57 am
Re: FTP User/Owner can't MKD
Ok, its fixed. it would appear there is an issue with the vestacp proftpd.conf that you overwrite the default proftpd.conf with.
I renamed the file from vestacp
The I found an easy way of putting a working default back in.
then
For some reason you still have to restart proftpd in the services on CP - that also happened previously!
then
edit the line ServerName "Debian" - change Debian to yourhostname
and ensure default root is uncommented (remove # if its there)
Done
I renamed the file from vestacp
Code: Select all
mv /etc/proftpd/proftpd.conf /etc/proftpd/backupproftpd.conf
Code: Select all
wget https://gist.githubusercontent.com/samurailink3/5388226/raw/e138f7a918a5f8936daf8238e975e28dfddb9745/proftpd.conf -O /etc/proftpd/proftpd.conf
Code: Select all
service proftpd restart
then
Code: Select all
vi /etc/proftpd/proftpd.conf
and ensure default root is uncommented (remove # if its there)
Code: Select all
# Use this to jail all users in their homes
DefaultRoot ~
Re: FTP User/Owner can't MKD - FIXED
Hello,
MKdir problem occured in my server via ftp connection, like yours.
Version: 0.9.8 (amd64) & Ubuntu 14.04 (x86_64)
MKD problem solved as below in my server.
VRootEngine parameter may not using anymore on latest proftpd versions.
find
replace
MKdir problem occured in my server via ftp connection, like yours.
Version: 0.9.8 (amd64) & Ubuntu 14.04 (x86_64)
MKD problem solved as below in my server.
VRootEngine parameter may not using anymore on latest proftpd versions.
Code: Select all
vim /etc/proftpd/proftpd.conf
Code: Select all
VRootEngine on
Code: Select all
# VRootEngine on
Code: Select all
service proftpd restart
-
- Posts: 1
- Joined: Mon Mar 23, 2015 1:28 pm
Re: FTP User/Owner can't MKD - FIXED
This worked for me - thanks so much!