vsftp: can not delete a directory that upload by an anonymous user

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:


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?

Source: linux

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.