Ciao Stefano,
You have currently no permission to write in the FreeSurfer directory. 
Try:
1. sudo -s
2. Enter your password
3. Run the curl and tar commands as explained in the wiki
Cheers,
/Eugenio



Juan Eugenio Iglesias
ERC Senior Research Fellow
Translational Imaging Group
University College London
http://www.jeiglesias.com
http://cmictig.cs.ucl.ac.uk/


On 26 Jan 2017, at 17:34, stdp82@virgilio.it wrote:

Hi list,
please see the error reported below.
Thanks
Stefano

curl "http://surfer.nmr.mgh.harvard.edu/fswiki/MatlabRuntime?action=AttachFile&do=get&target=runtime2012bMAC.tar.gz" -o "runtime2012b.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 runtime2012b.tar.gz: Permission denied
  0  290M    0   985    0     0   3211      0 26:23:33 --:--:-- 26:23:33  3208 
_______________________________________________
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 Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.