SFTP and FTP Permissions for a Team of Developers

If you do not have anything too confidential, you would probably want all your developers to have have 775 and 664 permission by default on all folders and files respectively. They will be able to change each other’s files without a big deal, granted you are dealing of course with responsible developers.

FTP

Here is the way to do it with ftp (vsftp). Don’t forget to restart your ftp server and your ftp client.
Modify your vsftp.conf to include the following:

local_umask=0002
file_open_mode=0777

and

SFTP

Here is the way to do in in sftp

Follow the instructions in this website below:
http://john.parnefjord.se/node/62/print

NOTE: This post assumes that you are working on a development server. For live servers, it is recommended that only a single user account has write access.