Can I somehow specify that:
- in a directory repository.git
- all files will ALWAYS have
- mode 770 and
- git:www-dat a ownwership:groupship?
permissions - mount with ACL options ownership - Your looking at setuid and setgid bits... http://en.wikipedia.org/wiki/Setuid
an example of what it looks like you are trying to do is here: http://www.linuxquestions.org/questions/linux-desktop-74/applying-default-permissions-for-newly-created-files-within-a-specific-folder-605129/
If you can enforce that applications that create files in this directory run with umask 007, and create files with no restriction on permissions, and run with group
However, if you make the directory itself owned by
Next is the problem of making the files group-writable. You can do that if the filesystem has access control lists enabled. For ext2/ext3/ext4/reiserfs, make sure it's mounted with the
I don't think the files will end up executable unless the applications create them to be executable. I don't know how to remedy this.