Q:

ubuntu server file permissions auto-change

Hello im having a problem with a project of mine, i have ubuntu server 12.04.1 lts, the problem i'm having is that i everytime i upload a file through ftp i need to modify file permissions otherwise it isnt available through browser.How can i modify the /var/www folder permissions to be seen by public through web browser and every new file/directory have the permissions of the www directory?

A:

You need to change your FTP account to be a member of the www-data group.  (You could also set it to USE the www-data account.)
Details of how to do this change dramatically depending on what FTP daemon you're using.

