aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/tips/shared_git_annex_directory_between_multiple_users.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/tips/shared_git_annex_directory_between_multiple_users.mdwn b/doc/tips/shared_git_annex_directory_between_multiple_users.mdwn
index 08bd8f4c0..45c622aa7 100644
--- a/doc/tips/shared_git_annex_directory_between_multiple_users.mdwn
+++ b/doc/tips/shared_git_annex_directory_between_multiple_users.mdwn
@@ -11,7 +11,7 @@ Setup a shared git repository:
git init shared ; cd shared # you can also do this on an existing git annex repo
git config core.sharedrepository group
chmod g+rwX -R .
- chgrp -R group .
+ chgrp -R $group .
The idea here is to use the new (since [[news/version 4.20130909]]) support for git's `sharedRepository` configuration and restrict access to a specific group (instead of the default, a single user). You can also this to make the files accessible to all users on the system: