I had setup a vsftp server in SUSE11 and enable anonymous user to upload file and create directory.In addition, i have create a ftpuesr as administrator. The configure of vsftp as follow:
anon_upload_enables=YES anon_umask=001 anon_mkdir_write_enables=YES anon_other_write_enables=YES anon_root=/home/ftpuser/admin/ chown_upload=YES chown_username=ftpuser
I want use “chown_username=ftpuser” to change the owner of the file and directory that upload by annonymous user, therefor i can use ftpuser to delete the file and directory. However, i found the owner of file can be success change to ftpuser, and the owner of directory change is failure (the owner of directory still is “ftp-FTP account”). Now, i can delete the file that upload by anonymous user, but can not delete a directory. How i should configure the vsftp if i want delete a directory that upload by anonymous user?