Hi again DataLad team,
I run into trouble when trying to work on the same DataLad dataset / git annex repo with multiple users on our lab server, because of permission issues, likely because of this git annex issue.
The solution comes from this git annex page, but seems to only apply to git, and not to git annex.
Any recommendations on how to make our local DataLad dataset usable by multiple users (in the same group) on our server?
Thanks a lot again!
Best wishes,
Lukas
Hi Yarik,
Thanks, I am currently testing things with two users working on the same (sub)dataset after having changed the git config as per above, work in progress, will keep you posted.
These are the permission issues we typically run into after having copied files to our subdataset and datalad saved them from two different user accounts (belonging to the same group)
> sub-031/DICOM/XX_0007: setFileMode: permission denied (Operation not permitted)
> sub-031/DICOM/XX_0010: setFileMode: permission denied (Operation not permitted)
> sub-031/DICOM/XX_0011: setFileMode: permission denied (Operation not permitted)
> sub-031/DICOM/XX_0014: setFileMode: permission denied (Operation not permitted)
> sub-031/DICOM/XX_0024: setFileMode: permission denied (Operation not permitted)
> sub-031/DICOM/XX_0025: setFileMode: permission denied (Operation not permitted)
> sub-031/DICOMDIR: setFileMode: permission denied (Operation not permitted)
> non-large file; adding content to git repository
git-annex: failed to commit changes to sqlite database: Just user error (SQLite3 returned ErrorReadOnly while attempting to perform step: attempt to write a readonly database(after successful open))
CallStack (from HasCallStack):
error, called at ./Database/Handle.hs:115:26 in main:Database.Handle [29 times]
add: 251 failed
I have set up publishing our dataset to GIN (see one of my previous topics here), and that works fine, but could you explain how this could help in user management?
Thanks a lot again!
Cheers,
Lukas