Closed jbwexler closed 2 years ago
I got this issue again when trying to rerun a failed subject from ds000117 (different dataset from above). It seems we need to unlock more freesurfer files than just "$fs_path"/sub*/scripts/
. The question is whether we can just unlock a few more files or if we need to unlock the entire fs directory. Though the average size of a freesurfer directory seems to only be about 250mb per subject, so the worst case scenario isn't so bad.
We resolved this by unlocking the entire freesurfer sub directory for any subject that's being run.
We had hoped that by unlocking freesurfer/*/scripts we would avoid permission denied errors when rerunning freesurfer/fmriprep. It worked for some datasets but not for all. @effigies thinks this may be caused by the same issue causing https://github.com/poldracklab/tacc-openneuro/issues/1. As an example, the files that caused permission denied errors in ds000171 were aseg.auto_noCCseg.label_intensities.txt and talairach.label_intensities.txt.
Here's a crash file: