]> dgit.raspbian.org Git - git-annex.git/commitdiff
Added a comment: Also problem with USB drives
authorthk <thk@web>
Tue, 31 Mar 2020 06:36:14 +0000 (06:36 +0000)
committeradmin <admin@branchable.com>
Tue, 31 Mar 2020 06:36:14 +0000 (06:36 +0000)
doc/tips/shared_git_annex_directory_between_multiple_users/comment_3_3bfb9e0e028f71c8a47e5363dcfdbd36._comment [new file with mode: 0644]

diff --git a/doc/tips/shared_git_annex_directory_between_multiple_users/comment_3_3bfb9e0e028f71c8a47e5363dcfdbd36._comment b/doc/tips/shared_git_annex_directory_between_multiple_users/comment_3_3bfb9e0e028f71c8a47e5363dcfdbd36._comment
new file mode 100644 (file)
index 0000000..7740987
--- /dev/null
@@ -0,0 +1,12 @@
+[[!comment format=mdwn
+ username="thk"
+ avatar="http://cdn.libravatar.org/avatar/bfef10a428769701aeee1db978951461"
+ subject="Also problem with USB drives"
+ date="2020-03-31T06:36:12Z"
+ content="""
+With a git annex repo on an USB drive and a linux filesystem (e.g. ext4) one often has the problem that users on different machines have different user ids. Thus one always needs to correct the user (chown) or permissions (chmod) before one can write to that repo.
+
+So it would help a lot, if git-annex would respect gits config setting \"core.sharedrepository\".
+
+From what I can see, the SUID bit seems to work at least. I use the group \"floppy\" as owner group for my USB drive repos since its group id is the same on all Debian machines and there is no harm to add users to it.
+"""]]