Dear Eva,
The subfield temporary directory is under SUBJECTS_DIR, not FREESURFER_HOME. So 
you only need SUBJECTS_DIR to be local.
Cheers,
/Eugenio

--
Juan Eugenio Iglesias
http://www.jeiglesias.com

From: freesurfer-boun...@nmr.mgh.harvard.edu 
<freesurfer-boun...@nmr.mgh.harvard.edu> on behalf of Heese, E. van (Eva) 
<e.vanhe...@amsterdamumc.nl>
Date: Friday, December 22, 2023 at 9:24 AM
To: freesurfer@nmr.mgh.harvard.edu <freesurfer@nmr.mgh.harvard.edu>
Cc: Brouwer, I. (Iman) <i.brouw...@amsterdamumc.nl>, Gool, J.K. (Jari) 
<j.g...@amsterdamumc.nl>
Subject: [Freesurfer] SUBJECTS_DIR writing permissions to run 
hippocampal/amygdala subfields

        External Email - Use Caution
Dear FreeSurfer support team,

I am running into some issues regarding the mandatory SUBJECTS_DIR writing 
permissions when running the hippocampal and amygdala subfields segmentation 
functionality<https://secure-web.cisco.com/1GxtLaQMhc8dCLk40Dqxx5gjSJCGqioQxX7dJnX4YO4XoD-T54rv7UozPUgpEmRrkKhz3SJUKvLEwwFynqtszycu2dIpqDxj7u60AnLF-SosWIILPCjPvmYFpWuUg3REUQV_cstkBDe2cMzUy3BKftcvaqbsCmw-20B0qDgjsntEJ7R-tTGoRhlBcXhjoQoGR-Up6yBupa-TTuZazdTouy_s6A3lERtA9q7asYa9vmpJ2xLj4vnlzftGhwWnlJyQuOflNhhimNnDZYsUCh-DFjJbTyIcuCKXUNU9FVy7KZ5gnd8z--cC2sPIvo5C5sWxXylVw4fwQzBZVpmVRlfukpA/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FHippocampalSubfieldsAndNucleiOfAmygdala>
 (segmentHA_T1.sh).

I am using FreeSurfer 7.3.2 on a slurm server. We have a shared FreeSurfer 
installation which is the FREESURFER_HOME location for many users, hence the 
absence of writing permissions. When running the subfield segmentations, I get 
this error:

mv: replace 'imageDump.mgz', overriding mode 0444 (r--r--r--)?
Even when overriding this (by typing y), the error results into issues with the 
segmentations because it cannot access the imageDump.mgz file and thus cannot 
use it as the starting template for the segmentation. This has been suggested 
and confirmed by Philipp Saemann and Juan Eugenio Iglesias in separate 
correspondence.

The short-term solution offered by our server admin was to make a local copy of 
the FreeSurfer installation (to be able to get writing permissions) and set the 
FREESURFER_HOME variable to this local copy. This seems a bit devious, 
considering many FreeSurfer users might face a similar issue on shared clusters 
without writing permissions. Is there another workaround possible?

Thanks for your help.

Best wishes,
Eva van Heese
______________________________________________________
AmsterdamUMC disclaimer : www.amsterdamumc.org/disclaimers
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is 
addressed.  If you believe this e-mail was sent to you in error and the e-mail 
contains patient information, please contact the Mass General Brigham 
Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline 
<https://www.massgeneralbrigham.org/complianceline> .

Reply via email to