So, I got my Raspberry Pi 2 yesterday, installed nginx, php and vsftpd.
nginx was running, PHP files were processed and served, I could connect to FTP, so I thought everything is fine and left it there.
Today, I decided to start NetBeans and do some work, but ultimately run into problems with FTP.
- connect to FTP using the default
piuser without any problem
- create new files
- manipulate existing files via FTP (created via bash or FTP under the
- nginx/php can't access files created via FTP
vsftpd.log doesn't really provide any useful insight into this (
550 operation failed).
Unable to open primary script: /home/pi/www/index.php (Permission denied)", as if the user running the process had no rights to read the file (nginx is running under
vsftpd.conf file, the only thing I changed is
YES, all the rest is default.