gbook / nidb

NeuroInformatics Database
GNU General Public License v3.0
26 stars 8 forks source link

Permission issue when exporting BIDS #121

Open andersonwinkler opened 1 year ago

andersonwinkler commented 1 year ago

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!

gbook commented 1 year ago

fixed in 2023.2.942

andersonwinkler commented 1 year ago

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)

gbook commented 1 year ago

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

andersonwinkler commented 1 year ago

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