Hi all
I am running vsftp on a LAMP with Typo3
The server runs many websites and for each instance I have to crate an FTP account:
so I added the user to the group www-data (ubuntu) and I changed the permissions as follows:
find /var/www/theinstance/ -type f -exec chmod 664 {} \;
find /var/www/theinstance/ -type d -exec chmod 775 {} \;
The problem is now that if a customer creates a file over Typo3 (or any CMS) the file's permissions will change to 644 for files and 755 for directories.
The ftp user is now not able to edit those files.
I changed the umask /etc/profiles to 002. I did solve the problem!
I am running a reverse proxy (varnish) on front of the webserver.
I am a little concerned about security.
could I cause some security issue?
Thanks for any suggestion.