I've recently delegated part of my webspace to a couple of friends so they can help out with some site admin. Unfortunately if they create some folders via SFTP the group-write bit is off by default, so I can't put any files in the folders they create. Because they own the folder I also can't go into a shell and chmod g+w because I get a permission denied error (even though I own the containing folder.)
Is there any way around this? The folders are all SGID which works (new folders are owned by the shared group) but group-write is still disabled. From the DH wiki it looks like I could set up a cron job to fix the permissions, but then I would have to grant each user shell access which I don't want to, not to mention having to run a cron job over the same set of folders for each user who might be working there.
Is there any way to force the group-write bit on via SFTP, and to override it in case of already existing files? Setting default ACLs would probably work, but the ext3 filesystem that DH uses doesn't seem to support ACLs.