aboutsummaryrefslogtreecommitdiff
path: root/doc/tips/shared_git_annex_directory_between_multiple_users.mdwn
diff options
context:
space:
mode:
authorGravatar https://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web>2015-05-27 20:56:05 +0000
committerGravatar admin <admin@branchable.com>2015-05-27 20:56:05 +0000
commit2f748b79f203e452692c50aae9820af5e5df533b (patch)
tree2b8f3e593b52fc6a424fd982d25b36559be3bcb6 /doc/tips/shared_git_annex_directory_between_multiple_users.mdwn
parent34b9402be3bc61548aa9500d60d60dbee50a3ecd (diff)
actually, i screwed up, it's actually the litteral "group"
Diffstat (limited to 'doc/tips/shared_git_annex_directory_between_multiple_users.mdwn')
-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: