I have create one server AWS ami STACK then i have connect FTP with user and file but i have not upload any file in server
Error: /var/www/magento/dev/index123.php: open for write: permission denied
Error: File transfer failed


You can try edit this file if this parameter is commented or not present : /etc/vsftpd.conf

 chown root:root /home/username

then run command :

service vsftpd restart

This solution might help you.

|improve this answer|||||
  • File is not located in this path :- /etc/vsftpd.conf – jaydeep dhokai Jan 19 '18 at 11:32
  • You need to use function such as 'locate vsftpd' and 'find vsfpd' etc to find file . this location is for apache servers. – Shashank Gupta Jan 19 '18 at 11:49
  • /usr/share/augeas/lenses/dist/vsftpd.aug /usr/share/augeas/lenses/dist/tests/test_vsftpd.aug, /usr/share/sosreport/sos/plugins/vsftpd.py, /usr/share/sosreport/sos/plugins/__pycache__/vsftpd.cpython-35.pyc – jaydeep dhokai Jan 19 '18 at 11:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.