Fwd: [CentOS] vsftp anonymous upload access

Tue May 15 03:51:49 UTC 2007
Indunil Jayasooriya <indunil75 at gmail.com>

pls try below

write_enable=YES
anon_upload_enable=YES
anon_mkdir_write_enable=YES


---------- Forwarded message ----------
From: Matt Martz <mdmartz at gflug.net>
Date: May 15, 2007 3:50 AM
Subject: Re: [CentOS] vsftp anonymous upload access
To: CentOS mailing list < centos at centos.org>


On Mon, May 14, 2007 5:06 pm, Al Sparks wrote:
> I'm trying to set up anonymous ftp using vsftp.  I want to be able to
> allow uploads.  The anonymous id is userid "ftp".  The ~ftp/ directory
> is actually owned by root, but ~ftp/pub is owned by ftp.
>
> Here's the vsftpd.conf:
>     anonymous_enable=YES
>     anon_upload_enable=YES
>     local_enable=NO
>     write_enable=NO
>     local_umask=022
>     dirmessage_enable=YES
>     xferlog_enable=YES
>     xferlog_std_format=YES
>     userlist_enable=YES
>     listen=YES
>     tcp_wrappers=YES
>
>
> I'm able to login to "ftp", and I'm able to "cd pub".  The pub
> directory has permissions ownership ftp:ftp and perms of 750 or:
>     drwxr-x---  2 ftp ftp 4096 May 14 12:43 /var/ftp/pub
>
> Since I'm logged on as "ftp" I should be able to create the file
> inside the directory and write to it.
>
> BTW, I've had this problem whether
>    write_enable=YES|NO
> and unless I'm misreading the docs, write_enable shouldn't affect
> actual uploads.
>
> What am I doing wrong?
>    === Al
>

Maybe take a look at
http://nixcraft.com/server-configuration-tutorials/725-secure-vsftpd-ftp-permissions-anonymous-user-uploads.html

--
Matt Martz
CentOS Mirror Admin
mdmartz at gflug.net

_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos


-- 
Thank you
Indunil Jayasooriya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070515/4f8884d6/attachment-0005.html>