Please try:

 sudo curl "https://surfer.nmr.mgh.harvard.edu/fswiki/MatlabRuntime?action=AttachFile&do=get&target=runtime2014bMAC.tar.gz" -o "runtime.tar.gz"

Cheers,

/Eugenio

 

 

Juan Eugenio Iglesias

Senior research fellow

CMIC (UCL), MGH (HMS) and CSAIL (MIT)

http://www.jeiglesias.com 

 

 

 

From: <freesurfer-bounces@nmr.mgh.harvard.edu> on behalf of "Lab of Autism and Developmental Neuroscience, Lab of Autism and Developmental Neuroscience" <ladn@email.gwu.edu>
Reply-To: Freesurfer support list <freesurfer@nmr.mgh.harvard.edu>
Date: Wednesday, March 18, 2020 at 19:40
To: "freesurfer@nmr.mgh.harvard.edu" <freesurfer@nmr.mgh.harvard.edu>
Subject: [Freesurfer] Issue with MATLAB 2012 runtime download

 

        External Email - Use Caution        

Dear Freesurfer experts, 

 

I'm having an issue while attempting to download Matlab 2012 runtime for its use in the hippocampal subfield segmentation. The error is: "Warning: Failed to create the file runtime.tar.gz: Permission denied". 

See details below: 

 curl "https://surfer.nmr.mgh.harvard.edu/fswiki/MatlabRuntime?action=AttachFile&do=get&target=runtime2014bMAC.tar.gz" -o "runtime.tar.gz"

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0Warning: Failed to create the file runtime.tar.gz: Permission denied

  0  656M    0  7771    0     0  15040      0 12:43:08 --:--:-- 12:43:08 15060

curl: (23) Failed writing body (0 != 7771)

 

Any ideas why this is happening? 

 

Thank you, 

Alex