Permission issues with datalad remove and datalad drop

Thanks a ton again @adina!

Here is the content of .git/config, hence sharedrepository key looks fine

[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
sharedrepository = world
[annex]
uuid = 902a8fee-fe0f-4401-8a5f-1fbfc07d3b0e
version = 10
[filter “annex”]
smudge = git-annex smudge – %f
clean = git-annex smudge --clean – %f
process = git-annex filter-process
[remote “gin”]
annex-ignore = false
url = https://gin.g-node.org/labgas/proj_bitter-reward-firstlevel
fetch = +refs/heads/:refs/remotes/gin/
annexurl = git@gin.g-node.org:/labgas/proj_bitter-reward-firstlevel.git
pushurl = git@gin.g-node.org:/labgas/proj_bitter-reward-firstlevel.git
annex-uuid = adf72665-9fcd-4983-b9da-d92f6f455f9e

I added the subdataset as a safe directory, but still getting the same error when trying to datalad remove it unfortunately.

When adding a path to a single file to the drop command, I still get notneeded, so it looks like things did get dropped at some point?

u0027997@gbw-s-labgas01:/data/proj_bitter-reward/firstlevel$ datalad -f json_pp drop model_1_food_images/sub-001/beta_0001.nii --reckless availability
{
“action”: “drop”,
“message”: “no annex’ed content”,
“path”: “/data/proj_bitter-reward/firstlevel/model_1_food_images/sub-001/beta_0001.nii”,
“refds”: “/data/proj_bitter-reward/firstlevel”,
“status”: “notneeded”,
“type”: “file”
}

Here is the system info from datalad wtf

system

  • distribution: ubuntu/20.04/focal
  • encoding:
    • default: utf-8
    • filesystem: utf-8
    • locale.prefered: UTF-8
  • filesystem:
    • CWD:
      • mount_opts: rw,relatime
      • path: /data/proj_bitter-reward/firstlevel
      • type: ext4
    • HOME:
      • mount_opts: rw,relatime
      • path: /home/luna.kuleuven.be/u0027997
      • type: ext4
    • TMP:
      • mount_opts: rw,relatime
      • path: /tmp
      • type: ext4
  • max_path_length: 291
  • name: Linux
  • release: 5.4.0-146-generic
  • type: posix
  • version: #163-Ubuntu SMP Fri Mar 17 18:26:02 UTC 2023

Thanks again!

Lukas