Following with the issues we had while configuring the ftp account in the Ubuntu server with vsftpd, we bring you another advice today.
In our case, we had to configure a webcam to upload images, and this is why we created the ftp server and user.
When I started uploading images, the permissions of the uploaded files were very restricted and I wanted to change them to 755 so the files could be seen from the browser.
So I followed this http://tosbourn.com/changing-upload-permissions-in-vsftpd/. Basically you have to edit the config file:
sudo nano /etc/vsftpd.conf
and make sure you have these three lines:
Then restart the ftp server
sudo restart vsftpd
Note: To me, restarting the service did not reload the configuration, so I had to reboot the server:
sudo shutdown -r now