Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-29-2017, 05:33 PM   #1
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Rep: Reputation: Disabled
vsftpd configuration question

hey guys, i set up vsftpd and its working, except for one issue, its not going to the directory i want it to.

I only set it up to upload files for apache, so i have in my vsftpd.conf the following:


but when i log in with my user it takes me to my home directory, which im guessing is default.

Do i have to create a user specifically for the webserver and make the home directory for that user '/var/www/html/"?
Old 03-29-2017, 05:56 PM   #2
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Original Poster
Rep: Reputation: Disabled
created a user named 'web' and then used "usermod web -d /var/www/html/" and its going to the directory i want. Not sure if that is the best way to do it, but as long as it works....


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VSFTPD Configuration Help dsheller Linux - Software 26 11-07-2010 12:06 AM
vsftpd configuration xxmasrawy Linux - Server 9 08-16-2010 07:26 AM
vsftpd configuration help yorkman Linux - General 2 04-28-2009 01:58 PM
vsftpd configuration cdang Linux - Software 0 03-04-2004 03:37 AM
vsftpd configuration help soonerjim Linux - Software 6 05-22-2003 02:58 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration