Trouble using datalad install on a Samba mounted folder?

Hi Neurostars community,

I work at a smaller university with little to no dedicated research IT. My department is currently paying for network storage through the university’s regular IT, which is made available to us through Samba-mounted folders. I understand Samba folders are generally still git-able when one is running things off of one’s local machine, so I thought it might be a good idea to datalad install datasets onto my Samba share to save some storage space.

However, when I cd to the Samba-mounted folder in a terminal and attempt to datalad install an OpenNeuro dataset, I get the following error:

(base) mthieu@LMC0000683 OpenNeuro % datalad install https://github.com/OpenNeuroDatasets/ds004182.git
[INFO   ] git-annex: Not initialized.
[INFO   ] init: 1 failed
install(error): /Volumes/mthieulab/Data/OpenNeuro/ds004182 (dataset) [CommandError: 'git -c diff.ignoreSubmodules=none -c core.quotepath=false annex init -c annex.dotfiles=true' failed with exitcode 1 under /Volumes/mthieulab/Data/OpenNeuro/ds004182] [CommandError: 'git -c diff.ignoreSubmodules=none -c core.quotepath=false annex init -c annex.dotfiles=true' failed with exitcode 1 under /Volumes/mthieulab/Data/OpenNeuro/ds004182]

The same error appears when I try other OpenNeuro datasets, and other datalad-datasets as well. I haven’t been able to trace exit code 1 to a specific cause, though it’s easy for me to wonder whether it’s a permissions issue on my Samba folder. I did attempt to git init a repository in a Samba subfolder, and that worked, so git itself works, but maybe not git-annex?

In case it’s helpful, I have confirmed that datalad install appears to work when I attempt to install the same dataset to a folder that’s on my local machine:

(base) mthieu@LMC0000683 Repos % datalad install https://github.com/OpenNeuroDatasets/ds004182.git
[INFO   ] Remote origin not usable by git-annex; setting annex-ignore
[INFO   ] https://github.com/OpenNeuroDatasets/ds004182.git/config download failed: Not Found
install(ok): /Users/mthieu/Repos/ds004182 (dataset)

Those two warnings did concern me slightly, but I have confirmed that I can datalad get files within the repo on my local so I think datalad is behaving as usual there.

I did look at the post Datalad create errors due to permissions on network drive but it doesn’t seem to be the same issue as I’m not trying to datalad create but rather to download.

Thank you for your help!

oh hoh. samba will be yet another dance I think we overall tried to avoid :wink: worth checking issues on Google Search but meanwhile, could you share output of

datalad wtf (there will be about filesystems)

and datalad -l debug install https://github.com/OpenNeuroDatasets/ds004182.git so we could see the details of operation behind.