-
Notifications
You must be signed in to change notification settings - Fork 111
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
Publishing to ria store #7536
Publishing to ria store #7536
Comments
Just to add, I also tried |
I think this is indeed a bug in DataLad, where the format of the remotely executed Inside datalad/datalad/distributed/ora_remote.py Lines 463 to 492 in 08315c1
Note that the "Unable to remove" message contains:
Digging a bit deeper, I see that it has been reported previously in a slightly more involved context (issue since transferred to another repo) datalad/datalad-ria#40 and discussed in psychoinformatics-de/knowledge-base#5 Thinking loud about a fix or workaround: I think the simplest way would be to only keep the "else" part of the statement, at the cost of breaking the (arguably rare) cause of mac-to-mac. A general solution requires a method to detect the remote OS. |
This is essentially an implementation of the reproducer from datalad/datalad#7536
Analysis and patch are taken more-or-less exactly from datalad/datalad#7549. Thanks @mslw! The patch is slightly modified to be more compact, and work by replacing `SSHRemoteIO.ensure_writeable()` alone. Fixes datalad/datalad#7536
This is essentially an implementation of the reproducer from datalad/datalad#7536
What is the problem?
I created a remote RIA store using
ria+ssh
protocol.Creation of the remote works without errors and results in the appropriate structure on the ssh remote.
When actually publishing to the ria store however, datalad fails due to invalid permission settings on the remote side:
Indeed, the png file in the transfer folder on the target, as well as its parent folder
transfer
have permissions-r--r--r--
. Theore-remote- ...
folder has permissionsdrwxrwxr-x
. I have no influence on those permissions since the complete tree is auto-created by datalad.Using DataLad version 0.19.3 and git version 2.43.0 on a MacBook M1.
I tried different ssh remotes, including the JUDAC system in Jülich and a local ubuntu box.
Done the same with
ria+file
to a local folder works fine.What steps will reproduce the problem?
Create test datalad repository
datalad create test
Add a test file to the repository and
datalad save
Create ria remote on ssh machine
datalad create-sibling-ria -s datastore --new-store-ok "ria+ssh://<user>@<server>/path/to/datastore"
Try to push
datalad push --to datastore
DataLad information
0.19.3
darwin/23.1.0 14.1.1/arm64
Additional context
No response
Have you had any success using DataLad before?
No response
The text was updated successfully, but these errors were encountered: