KBI0025: Saving changes in datasets owned by other users#
Adina Wagner <firstname.lastname@example.org>
sharedRepository, git config, multi-user
It is generally recommended to not share one and the same dataset or Git repository (i.e., the same directory on the file system) when collaborating with others. In the typical workflow for collaboration, each user has their own clone of the respective dataset instead. One of several reasons why sharing the same dataset is not ideal is that Git lets the operating system decide which Unix file permissions are applied, and typical umask configurations give write permissions only to the file owner, which in turn creates permission errors when a user other than the dataset owner saves a modification.
But if a dataset needs to be shared among several users, the following Git configuration can help: