I have recently bought a raspberry pi that I have installed as an Apache web server.
I do however have one problem: When I add files via ftp the permissions are set to
-rw-------. There for I can not access the files without changing their permissions manually first, e.g
chmod 755 /var/www -R (everytime I add a file or directory via ftp that is).
But this is of course not the correct way. What am I missing out?
Thanks in advance!
Edit: I am running vsftpd and Apache2 on a Debian "Wheezy", and followed this guide pretty much.
Edit #2: Requested umask settings from /etc/vsftpd.conf file:
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd's)