View previous topic :: View next topic |
Author |
Message |
commandline n00b
Joined: 20 Oct 2004 Posts: 70
|
Posted: Tue Feb 22, 2005 2:14 pm Post subject: vsftpd.conf: 2 questions |
|
|
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 |
|
|
commandline n00b
Joined: 20 Oct 2004 Posts: 70
|
Posted: Wed Feb 23, 2005 12:12 am Post subject: |
|
|
any ideas please? _________________ gentoo stage3-2008.0 kernel 2.6.28-hardened-r9 |
|
Back to top |
|
|
ash n00b
Joined: 19 Mar 2003 Posts: 27
|
Posted: Wed Feb 23, 2005 1:38 am Post subject: Re: vsftpd.conf: 2 questions |
|
|
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 |
|
|
|