I had some problems with the filepermissions when local users uploaded their files via vsftp to a server.
I wanted the files to have all 766 permissions. After a lot of trial and error I found out that I had to set the settings like this:
But I don't know why this results in 766 permissions. Can anyone explain this?