From 70f5f70609eb04fb606f2c27857c7712543b8c9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Zeidler?= <13080132+rafzei@users.noreply.github.com> Date: Wed, 19 May 2021 12:10:48 +0200 Subject: [PATCH] Update README.md Added chown on created dir & `docker restart vsftpd` seems to be redundant --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 38b1799..b4ec9a6 100644 --- a/README.md +++ b/README.md @@ -162,8 +162,8 @@ docker run -d -v /my/data/directory:/home/vsftpd \ ```bash docker exec -i -t vsftpd bash mkdir /home/vsftpd/myuser +chown ftp:ftp /home/vsftpd/myuser echo -e "myuser\nmypass" >> /etc/vsftpd/virtual_users.txt /usr/bin/db_load -T -t hash -f /etc/vsftpd/virtual_users.txt /etc/vsftpd/virtual_users.db exit -docker restart vsftpd ```