I have Mail in a Box successfully installed and configured. I want to create a webpage for my non-admin users providing instructions for configuring their email clients, using webmail, etc. I also want to use .htaccess and .htpasswd files to password protect the page from the public.
I have set up FileZilla using the correct SFTP protocol with my key file and password prompt on port 22. I can successfully log in and access the directory /home/user-data/www/default. I can open the index.html file locally, but I am unable to successfully edit and save changes. All attempts to upload anything fails with the following message:
Error: /home/user-data/www/default/index.html: open for write: permission denied Error: File transfer failed
Error: /home/user-data/www/.htaccess: open for write: permission denied Error: File transfer failed
I don’t understand why permission is denied when I am using SFTP protocol with my key file. Please help!