Skip to contentSkip to conversation

Windows permissions with repository on a network share

DISCUSSION Jerome Lovy 2 participants 3 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

Hello,

Did anyone experiment with Windows permissions for a Git repository located on a Windows network share?

Is it a sensible scheme in order to have a central repository with ACLs (notably some group can read/write, some other group can only read) without the need to set up a dedicated server (ala Gitolite) ? (Assuming a Windows network share infrastructure is already in place...)

TIA
Jérôme

#1 lore raw
Quoted 9 lines · Jerome Lovy

Hello,

Did anyone experiment with Windows permissions for a Git repository located on a Windows network share?

Is it a sensible scheme in order to have a central repository with ACLs (notably some group can read/write, some other group can only read) without the need to set up a dedicated server (ala Gitolite) ? (Assuming a Windows network share infrastructure is already in place...)

I don't know about Windows but any OS/file-system level ACL system that has more granularity than the usual user/group/other, ought to work fine.

The only thing gitolite can add is branch-level permissions, which it doesn't sound like you need.

[Of course, I like to think that the config file in gitolite is a much cleaner way of setting, reviewing, changing, and tracking changes of, permissions, but I'm biased ;-)]

#2 lore raw
Quoted 16 lines · Sitaram Chamarty
Quoted 9 lines · Jerome Lovy

Hello,

Did anyone experiment with Windows permissions for a Git repository located on a Windows network share?

Is it a sensible scheme in order to have a central repository with ACLs (notably some group can read/write, some other group can only read) without the need to set up a dedicated server (ala Gitolite) ? (Assuming a Windows network share infrastructure is already in place...)

I don't know about Windows but any OS/file-system level ACL system that has more granularity than the usual user/group/other, ought to work fine.

Quoted 6 lines

The only thing gitolite can add is branch-level permissions, which it doesn't sound like you need.

[Of course, I like to think that the config file in gitolite is a much cleaner way of setting, reviewing, changing, and tracking changes of, permissions, but I'm biased ;-)]

In this respect, Gitolite has a good point indeed with the auditing possibility, thanks to change tracking.