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 Web Server
  • Search

change ftp home directory v-change-web-domain-ftp-path.sh

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
jakepatrick
Posts: 14
Joined: Sat Oct 04, 2014 2:13 am

change ftp home directory v-change-web-domain-ftp-path.sh
  • Quote

Post by jakepatrick » Thu Apr 09, 2015 4:31 pm

I want to set my ftp path home directory to be above all of the sitename level folders. Is this a security concern other than the fact than the obvious answer of one break in means all domains for that user are under attack?
I would prefer to have one ftp user log in to
/home/$user/web/
instead of
/home/$user/web/$domain/public_html/

When I try to adjust the path using v-change-web-domain-ftp-path I get an error stating that Web System is not enabled in vesta.conf
changing /etc/passwd is only temporary and when the website panel is saved the ftp is reverted to default.

Your Feedback is appreciated.
Top

NeOm
Posts: 2
Joined: Sun Sep 06, 2015 7:58 am
Contact:
Contact NeOm
Website

Re: change ftp home directory v-change-web-domain-ftp-path.s
  • Quote

Post by NeOm » Sun Sep 06, 2015 9:29 pm

Hi,
If you found a solution please post here,

I edited:

Code: Select all

/etc/vsftpd/vsftpd.conf
I added at the end of the file:

Code: Select all

local_root=/home/$user/
user_sub_token=$user
I'm not 100% if is the ideal solution... but until now is ok.

I will test more.

Succes!
Top


Post Reply
  • Print view

2 posts • Page 1 of 1

Return to “Web Server”



  • 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