Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Shared Repos
- Take .git dir. Set base = true. Then:
- As Marc said, you should first make sure that "config" contains
- "sharedrepository = 1" in the "[core]" section.
- Then you can do the following:
- - remove all permissions for "others": chmod -R o-rwx .
- - mirror "user" permissions to "group": chmod -R g=u .
- - add +s flag to directories: find . -type d | xargs chmod g+s
- This should fix your current situation. The "sharedrepository = 1"
- will tell git to maintain a proper shared state in the future
- on objects it creates (i.e. mirror "user" permission to "group" ones).
Add Comment
Please, Sign In to add comment