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.
-
Are the users logging in or are they anonymous?– TheSchwaFeb 25, 2016 at 21:43
-
No. as user. :) I have a solution: serverfault.com/a/374697/253490 Anyway thank you for your interest.– KalikDevFeb 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.– TheSchwaFeb 26, 2016 at 17:16
Add a comment
|
1 Answer
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.