0

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

1 Answer 1

0

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

local_enable=YES
 write_enable=YES
 chroot_local_user=YES
 /home/username/files
 chown root:root /home/username

then run command :

service vsftpd restart

This solution might help you.

3
  • File is not located in this path :- /etc/vsftpd.conf Jan 19, 2018 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. Jan 19, 2018 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 Jan 19, 2018 at 11:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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