Sorry, I missed that detail. I’m pretty sure that the code does not write any files on FREESURFER_HOME, which makes this issue super weird! I’m CCing Jackson and Rob, in case they have any other ideas (if not, I would recommend that you simply use the local copy of FS). C heers, /E
-- 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:56 AM To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> Cc: Brouwer, I. (Iman) <i.brouw...@amsterdamumc.nl>, Gool, J.K. (Jari) <j.g...@amsterdamumc.nl> Subject: Re: [Freesurfer] SUBJECTS_DIR writing permissions to run hippocampal/amygdala subfields External Email - Use Caution Hi again Juan Eugenio, Thanks for your quick response. I meant to reach out again in our other trail of emails too. Changing the permissions of just the SUBJECTS_DIR does not seem sufficient, because the imagedump permission error still pops up. With FREESURFER_HOME writing permissions the error does not come up, and on a first glance the segmentations issues (i.e. missing tail/mirroring of the atlas) are also resolved. Is it possible that the subfield functionality relies on writing permissions in FREESURFER_HOME too? Best, Eva Van: freesurfer-boun...@nmr.mgh.harvard.edu <freesurfer-boun...@nmr.mgh.harvard.edu> Namens Iglesias Gonzalez, Juan E. Verzonden: vrijdag 22 december 2023 15:28 Aan: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu> CC: Brouwer, I. (Iman) <i.brouw...@amsterdamumc.nl>; Gool, J.K. (Jari) <j.g...@amsterdamumc.nl> Onderwerp: Re: [Freesurfer] SUBJECTS_DIR writing permissions to run hippocampal/amygdala subfields 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 MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be http://www.jeiglesias.com<http://secure-web.cisco.com/1knYsXT9YXWLm2_bZWKudPj11GLu0QVifhZCergRsn28t7dyB2Iq64Lm17jXK50u8d41QrI2jbvsYyB88eY_LtDDyjKqgHJANDYXXimRoGT04JHAkX24NeIWMwxRdTZQkEoPfrxzKwlG632LYJXFQyadL-xNfrO0gUV1OEWB2LEiwWU54x9VV4j7tTNsZugg7v9fgk8nRAD85WN0LDnLzG9lgSVHsBN94442XXyLryZjPH8_iy4foXL0DiF0lek7oxo4GaqH5KltWd-XYiCP5Z6lrXNsTZQBLvdh57EPoYbvGxLMxCIDpifwFnNEo_vmb/http%3A%2F%2Fwww.jeiglesias.com%2F> From: freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu> <freesurfer-boun...@nmr.mgh.harvard.edu<mailto:freesurfer-boun...@nmr.mgh.harvard.edu>> on behalf of Heese, E. van (Eva) <e.vanhe...@amsterdamumc.nl<mailto:e.vanhe...@amsterdamumc.nl>> Date: Friday, December 22, 2023 at 9:24 AM To: freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu> <freesurfer@nmr.mgh.harvard.edu<mailto:freesurfer@nmr.mgh.harvard.edu>> Cc: Brouwer, I. (Iman) <i.brouw...@amsterdamumc.nl<mailto:i.brouw...@amsterdamumc.nl>>, Gool, J.K. (Jari) <j.g...@amsterdamumc.nl<mailto: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 : MailScanner has detected a possible fraud attempt from "secure-web.cisco.com" claiming to be www.amsterdamumc.org/disclaimers<http://secure-web.cisco.com/1a1pu03igyI_xAREaDv2SDHtsVoPTl-6Ov3QAk2bFQ3OcqrXIMB1t0waYPrvee7IoJ55vmOe7kqffYQjayCqH1229aOAroxRZ_aQZsrFOKgY1acp6tp6lGo-83-yHfRYW8NhZYOJSJmiFfELkvL7I2rJa8HP6ZveecoXB4bGHB4uPteQNtkUwSduGYH_tQyAFGkzQy779MmmCencHok9_5-OScxVJRfL5aFcJQKrpgHPPpe4eBUGWs6Kva6CfvJLSD4Ouwd6gqKQUTcT2Yr5mgrCdgi7CVgO6m23uaOlP3TkJD7BGk7O7ZkbzzVAo7DO2HlGWkKAUZ6hCBEmzbyGtgA/http%3A%2F%2Fwww.amsterdamumc.org%2Fdisclaimers>
_______________________________________________ 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> .