On Friday 17 December 2004 22:14, Skunk Worx wrote:
3) In the link above, the paragraph "(On some systems, you also need to set the set-group-ID-on-execution bit on the repository directories (see chmod(1)) so that newly-created files and directories get the group-ID of the parent directory rather than that of the current process.)" Does this apply on fedora?
It works here on FC3:
# mkdir /tmp/cvstest
# ll -d /tmp/cvstest drwxr-xr-x 2 root root 4096 Dec 18 11:56 /tmp/cvstest
# chgrp apache /tmp/cvstest
# ll -d /tmp/cvstest drwxr-xr-x 2 root apache 4096 Dec 18 11:56 /tmp/cvstest
# chmod g+s /tmp/cvstest
# touch /tmp/cvstest/file1
# ll /tmp/cvstest/ -rw-r--r-- 1 root apache 0 Dec 18 11:58 file1
nice simple test you have provided. so i guess the answer is yes, linux and in my case fedora needs the set-group-ID-on-execution bit set.
thanks, John