Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am setting up a FTP server on CentOS and it is running. (Vsftpd with anonymous login)

The anonymous user can upload file and change the file name but it couldn't delete those uploaded files in the /var/ftp/pub directory.

Currently the /var/ftp/pub ownership is ftp:ftp and read/write is set to 755

Is there a way to let anonymous user delete files in /var/ftp/pub directory?

share|improve this question
Yes, you can enable it so that anonymous users can delete files, but they will be able to delete any file. If you're looking for a way to track individual ownership between anonymous users then I think you need to brush up on the definition of the word 'anonymous'. – Sammitch May 14 '13 at 21:39
I am not tracking individual between anonymous users. I am just curious why anonymous user can only upload files but cannot delete files. – Xianlin May 16 '13 at 2:47
Because there's nothing to stop some random person from logging on and deleting everything, and it's generally agreed to be a much worse idea than allowing anonymous FTP in the first place, and worse still than letting anons put files on your server. – Sammitch May 16 '13 at 15:37
so you are suggesting the anonymous user uploading idea is forbidden because it is too dangerous to do so? OK then I guess I do not need to know about how to enable anonymous user deleting files. thanks. – Xianlin May 18 '13 at 4:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.