-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to turn an existing clone into a shared clone? #15
Comments
In order to turn this bit into a KBI, first some explorations. For each scenario the following commands ran
below is a listing of the resulting permissions for
The distinguished conditions are
Effective git version 2.39.1
TL/DR:
|
|
Thx @yarikoptic for the link. I have extended the table above to document the contrast between I believe this should now result into at least two KBIs:
The test above should be repeated with Once we know that, it is worth pinging the git-annex issue linked above. Ultimately, there should be a technical issue/proposal for dealing with permissions for file system items that DataLad is managing directly (not through git or git-annex). The situation currently presents itself to me as:
|
This turns out to be difficult: 1.
|
Here is the comparison table for
followed by a
Interestingly, only This |
Add a KBI with insights from #15 on config overrides
Origin: Datalad office hour
There have been several occasions in the office hour where users realized that they need a clone that is initialized with
--shared group
, but wanted/needed to this after the fact in-place, because of the size of the dataset. The question usually shows that users would expect something likedatalad create --force
with the shared option passed to git-init would work. That is, however, insufficient and no concise answer was provided during the office hour.git init --shared
only sets the respective config, but does not change existing permissions. This needs to be done separately. See https://stackoverflow.com/questions/3242282/how-to-configure-an-existing-git-repo-to-be-shared-by-a-unix-group.git/annex
and its permissions need to be taken into accountgit config --local receive.denyNonFastForwards true
and its purpose.TODO (not necessarily to be performed in this order)
The text was updated successfully, but these errors were encountered: