aboutsummaryrefslogtreecommitdiffstats
path: root/git-init-acl
diff options
context:
space:
mode:
authorWolfgang Müller2021-07-19 14:33:44 +0200
committerWolfgang Müller2021-07-19 14:33:44 +0200
commit18b50a7e0e92e4d710472b3537a025df5f581141 (patch)
tree051ae1ac66ca29028a6bf4af35ca5c68f4521486 /git-init-acl
parent1ae2a0d3dae621b788c83c35816b560c31188a61 (diff)
downloadgit-helpers-18b50a7e0e92e4d710472b3537a025df5f581141.tar.gz
git-init-shared: Allow adding users to ACLs subsequently
git-init(1) allows users to safely reinitialize a git repository. This is useful, for example, if new permissions are set with --shared. This commit adds similar functionality to git-init-shared(1) by not only setting the right ACLs on the toplevel directory (and relying on ACL inheritance through the default entry), but also making sure that the correct rights are set for all files that already exist in the repository. Where before a user had to run the right 'setfacl' invocation themselves to add a new user to the access lists, now the same is possible by simply invoking git-init-shared(1) again with the right user. For example, the following invocation adds access to both 'foo' and 'bar': git init-shared repo/ foo git init-shared repo/ bar
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions