LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-24-2009, 11:04 AM   #1
nrmx
LQ Newbie
 
Registered: Mar 2003
Posts: 26

Rep: Reputation: 15
VsFTPd Setting home dir.


I am trying to get Vsftpd to specify the home dir at login. I want users to log into /home/%%%/upload instead of /home/%%% then have to click on upload. Also, I would to have all files uploaded my any user to be owned by the webserver in my case www-data the apache user. I know I can change the ownership of uploaded anonymous files by changing the vsftpd.conf but am unsuccessful trying to do this for specific users!
 
Old 05-24-2009, 12:12 PM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
Use
Code:
local_root=upload
to change the upload directory to /home/$USER/upload.
Regarding the changing of uploaded files to another user, this cannot be done for non anoymous ftp. What you can do is to run a script through cron to do this job.

Regards
 
  


Reply



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
Can't find .ssh dir in home dir bobby953 Linux - Newbie 5 03-09-2009 04:00 AM
Setting up sftp access to a part of my home dir, don't have root permissions frankie_DJ Linux - Networking 3 02-06-2007 09:17 AM
howto make a dir shared that is not in my home dir Schmurff Linux - Newbie 2 06-19-2004 07:54 PM
home dir vsftpd ilengna Linux - Networking 7 10-14-2003 07:58 PM
Restricting FTP Users to their home dir in vsftpd ~ForgottenFlux~ Linux - Software 2 09-03-2003 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:43 AM.

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