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.
I can
- connect to FTP using the default
piuser without any problem - create new files
I can't
- manipulate existing files via FTP (created via bash or FTP under the
piuser) - nginx/php can't access files created via FTP
vsftpd.log doesn't really provide any useful insight into this (550 operation failed).
nginx logs 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 pi, though).
In my vsftpd.conf file, the only thing I changed is write_enable to YES, all the rest is default.
ftporsftp- how do you authenticate a remote login? It does sound like a permissions issue BTW. – SlySven Feb 03 '16 at 20:14ftp, to authenticate I simply use the defaultpiuser with my local password. – ROAL Feb 03 '16 at 20:19