On an Ubuntu server, I have a directory containing Subversion versioned files. I have used chgrp bb *
to set the group owner.
I have also set the directory's SGID bit with chmod g+s mydir
so that new files are created with this group:
drwsr-sr-x 4 mat bb 4096 Dec 4 21:37 mydir
This works fine if I create a new file with touch test-touch
-rw-r--r-- 1 mat bb 0 Dec 4 21:43 test-touch
But svn update
does not have the same effect:
-rw-r--r-- 1 mat mat 3006 Dec 4 21:44 test-svn
How can I get Subversion to respect the SGID bit?