nidb icon indicating copy to clipboard operation
nidb copied to clipboard

Permission issue when exporting BIDS

Open andersonwinkler opened this issue 3 years ago • 4 comments

When we export in BIDS, the files created and the directories in some levels don't have group-writing permissions, so can't be deleted unless we log in as user nidb.

Specifically, the participants.tsv, README, and the .nii.gz and .json have all permissions rwxr--r--, whereas the directories at the level of sessions have permissions rwxr-x-r-x.

Thanks!

andersonwinkler avatar Feb 03 '23 00:02 andersonwinkler

fixed in 2023.2.942

gbook avatar Feb 06 '23 20:02 gbook

Hi Greg,

Still not right...

winkler@store:~/_tray $ ls -l BIDS-202302221*
BIDS-20230222102301:
total 4
drwxr-xr-x 3 10004 10004 4096 Feb 22 10:22 sub-0001

BIDS-20230222133902:
total 4
drwxr-xr-x 3 10004 10004 4096 Feb 22 13:38 S8880GGH

(user/group 10004 is nidb)

andersonwinkler avatar Feb 22 '23 20:02 andersonwinkler

That's weird. Can you send the log file from the export module for that BIDS request?

gbook avatar Feb 24 '23 19:02 gbook

very strange -- log file is empty. In fact, no log file appears to have been created at all... (?)

andersonwinkler avatar Feb 27 '23 22:02 andersonwinkler