Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
vsftpd.conf: 2 questions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
commandline
n00b
n00b


Joined: 20 Oct 2004
Posts: 70

PostPosted: Tue Feb 22, 2005 2:14 pm    Post subject: vsftpd.conf: 2 questions Reply with quote

hi all,
this is my vsftpd.conf
Code:
listen=YES
background=YES
port_enable=YES
anonymous_enable=YES
anon_root=/root/path
anon_upload_enable=YES
write_enable=YES
anon_mkdir_write_enable=NO
anon_world_readable_only=YES
guest_enable=NO
chown_uploads=YES
chown_username=myusername
local_enable=YES
local_root=/user/path
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd.chroot_list
chroot_local_user=NO
dual_log_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
max_clients=10

my main problem is that, although this config file, vsftpd doesn't change the owner of uploaded files to chown_username, i cannot understand why.

besides, less important, i'd like to have a custom log. i specified dual_log_enable but nothing has changed.

anyone?
thank you all in advance!!
_________________
gentoo stage3-2008.0 kernel 2.6.28-hardened-r9
Back to top
View user's profile Send private message
commandline
n00b
n00b


Joined: 20 Oct 2004
Posts: 70

PostPosted: Wed Feb 23, 2005 12:12 am    Post subject: Reply with quote

any ideas please?
_________________
gentoo stage3-2008.0 kernel 2.6.28-hardened-r9
Back to top
View user's profile Send private message
ash
n00b
n00b


Joined: 19 Mar 2003
Posts: 27

PostPosted: Wed Feb 23, 2005 1:38 am    Post subject: Re: vsftpd.conf: 2 questions Reply with quote

commandline wrote:
chown_uploads=YES
chown_username=myusername


Regarding your user - I am going to point out the obvious, like I assume that myusername is actually a user on your system. That and double check the man page (man vsftpd.conf). There was information in the man page that wasn't obvious by looking at the comments in the default configuration file.

Regarding the dual log, I had issues with that too, but I forget what it was - I seem to recall that certain options were mutually exclusive w/ others. (You may be running into that with your chown issue also.)

Redhat has a great guide on vsftpd here:

http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/ref-guide/s1-ftp-vsftpd-conf.html

Let me know if that helps...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum