[dundee] Why is Everythin on Linux Such a Ball Ache?

Kris Davidson davidson.kris at gmail.com
Thu Aug 5 11:20:04 UTC 2010


Okay using that that guide you posted, and the advice in this thread.
I setup a test server on a spare machine here at it worked.

/etc/vsftpd.conf
============
anonymous_enable=YES
local_enable=YES
write_enable=YES
local_umask=022
anon_upload_enable=YES
anon_mkdir_write_enable=YES
dirmessage_enable=YES
xferlog_enable=YES
xferlog_std_format=YES
listen=YES
anon_root=/srv/ftp
pam_service_name=vsftpd
tcp_wrappers=YES
use_localtime=YES
ftp_username=ftp
anon_other_write_enable=YES
anon_world_readable_only=NO

Directory Layout
=============
/srv/
└── ftp
    └── pub

Permissions
==========

drwxr-xr-x root root  srv
dr-xr-xr-x   ftp   ftp     ftp
drwxr-xr-x ftp   ftp     pub

and it worked fine when I login I can see the pub directory and I
could create directories and upload files to the pub directory.

So anyway try changing the ownership of the ftp directory to ftp:ftp
and the permissions to 555.

Kris



More information about the dundee mailing list