docker-vsftpd icon indicating copy to clipboard operation
docker-vsftpd copied to clipboard

FTP_USER entry now appended to virtual_users.txt instead of overwriting the whole file

Open gregory112 opened this issue 5 years ago • 3 comments

Check the virtual_users.txt file for FTP_USER entry first, to see if the entry already exists. If the user already exists, it won't be appended to the file. Using ">>" instead of ">" stream which will overwrite the file.

gregory112 avatar Jun 07 '20 13:06 gregory112

+1 for this PR

evantill avatar Jun 24 '20 13:06 evantill

Thanks for the PR, @gregory112 !

We can try to find a way for appending virtual users, but the proposed grep approach wont work, as it will behave in an unexpected way if it matches a password.

fauria avatar Sep 29 '20 19:09 fauria

fix this issue here: https://github.com/yale8848/docker-vsftpd

yale8848 avatar Aug 14 '21 07:08 yale8848