-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
The parent directory where the subdirectories are being created has the proper permissions: ls -ltr drwxrwxr-x 52 demo shared_group 4096 Jun 1 13:44 documentrepository
But when the jailed user demo creates a new directory "6-2009" via sftp here is the permissions
drwxr-xr-x 2 demo shared_group 4096 Jun 1 13:55 6-2009
How do I get that group write bit to be properly set? thanks -ryan