1000 FAQs, 500 tutorials and explanatory videos. Here, there are only solutions!
Automatically adding the SGID bit to directories in my hosting space
On a nightly basis, we automatically set the SGID* flag (see below) on directories under /data, /web, /users/*/web and /users/*/data (e.g. /web/cgi-bin).
A directory with permissions 0755 becomes 2755, 0777 becomes 2777, etc.
This means that newly created directories belong to your site's group and can therefore be modified by your site's FTP administrator(s).
SGID = Set Group ID which, in octal, has the value 2000; you will find more information on this page