-I have multiple users that are jailed and who all belong to the same group "shared_group" -Each of these users creates and accesses files using sftp access through jailkit. -Accessing and writing files works fine.
*However if a new directory is created through sftp it does not have the group write bit set.
My jail jk_lsh.ini has the umask set to 002 so it should be setting the group write bit. Here is the file contents:
[DEFAULT] paths= /usr/bin, /usr/lib/ executables= /usr/bin/scp, /usr/libexec/openssh/sftp-server