Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion
  • Search

FTP User/Owner can't MKD - FIXED

General questions about VestaCP
Post Reply
  • Print view
Advanced search
7 posts • Page 1 of 1
uksitehost
Posts: 10
Joined: Sun Sep 07, 2014 5:57 am

FTP User/Owner can't MKD - FIXED
  • Quote

Post by uksitehost » Sun Sep 07, 2014 4:55 pm

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!
Last edited by uksitehost on Tue Sep 09, 2014 7:08 pm, edited 1 time in total.
Top

uksitehost
Posts: 10
Joined: Sun Sep 07, 2014 5:57 am

Re: FTP User/Owner can't MKD
  • Quote

Post by uksitehost » Tue Sep 09, 2014 12:19 pm

can anybody help?
Top

Petronius
Posts: 1
Joined: Tue Sep 09, 2014 1:14 pm

Re: FTP User/Owner can't MKD
  • Quote

Post by Petronius » Tue Sep 09, 2014 1:21 pm

I can confirm I have the same issue. It is pretty much out of the box setup with proftpd.
Top

uksitehost
Posts: 10
Joined: Sun Sep 07, 2014 5:57 am

Re: FTP User/Owner can't MKD
  • Quote

Post by uksitehost » Tue Sep 09, 2014 2:15 pm

I don't know if this changes anything but my server is not a VPS, it's my own hardware in my own house.
Top

uksitehost
Posts: 10
Joined: Sun Sep 07, 2014 5:57 am

Re: FTP User/Owner can't MKD
  • Quote

Post by uksitehost » Tue Sep 09, 2014 7:06 pm

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

Code: Select all

mv /etc/proftpd/proftpd.conf /etc/proftpd/backupproftpd.conf
The I found an easy way of putting a working default back in.

Code: Select all

wget https://gist.githubusercontent.com/samurailink3/5388226/raw/e138f7a918a5f8936daf8238e975e28dfddb9745/proftpd.conf -O /etc/proftpd/proftpd.conf
then

Code: Select all

service proftpd restart
For some reason you still have to restart proftpd in the services on CP - that also happened previously!

then

Code: Select all

vi /etc/proftpd/proftpd.conf
edit the line ServerName "Debian" - change Debian to yourhostname

and ensure default root is uncommented (remove # if its there)

Code: Select all

# Use this to jail all users in their homes 
DefaultRoot			~
Done
Top

tristar
Posts: 1
Joined: Sun Feb 22, 2015 8:57 pm

Re: FTP User/Owner can't MKD - FIXED
  • Quote

Post by tristar » Sun Feb 22, 2015 9:06 pm

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.

Code: Select all

vim /etc/proftpd/proftpd.conf
find

Code: Select all

VRootEngine                     on
replace

Code: Select all

# VRootEngine                     on

Code: Select all

service proftpd restart
Top

markhaines
Posts: 1
Joined: Mon Mar 23, 2015 1:28 pm

Re: FTP User/Owner can't MKD - FIXED
  • Quote

Post by markhaines » Mon Mar 23, 2015 2:39 pm

This worked for me - thanks so much!
Top


Post Reply
  • Print view

7 posts • Page 1 of 1

Return to “General Discussion”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password