2

Today at work my boss, give me order: in internal company's FTP, where we have backups, users can upload and download files, but they can't delete them. I have to do this in vsFTPd's config. He told me, he did it once, but he forgot how do that. Is it possible? Anyone can help me or take me even tips, how to reach it.

3
  • Are the users logging in or are they anonymous?
    – TheSchwa
    Feb 25, 2016 at 21:43
  • No. as user. :) I have a solution: serverfault.com/a/374697/253490 Anyway thank you for your interest.
    – KalikDev
    Feb 26, 2016 at 7:22
  • Great! Please consider accepting my answer (which is just a copy of the serverfault answer) so that other users on AskUbuntu can easily find the same solution.
    – TheSchwa
    Feb 26, 2016 at 17:16

1 Answer 1

3

To do so you would simply have to remove the following from the config:

# Disable delete commands
cmds_denied=DELE,RMD

Where DELE is delete file permission and RMD is remove directory permission.

Taken from this question on serverfault as suggested in the comments by @Pretenderus.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .