I have created a new FTP user (The test user with homedir in /ftp worked) and set it to use /var/www/html as a homedir. It connects successfully, as I can see a folder called well-known with the acme-challenges in it, but when I try to make a new file/folder it just says not working…
I want to have a program directly make changes to the main website, so I can’t use a virtualHost
This may be not optimal for security as FTP is unencrypted and any ftp user can write to the webroot.
If possible, create a specific user, set permissions on /var/www/html and use SFTP instead.