Dear freesurfer experts,
I am trying to create medial temporal lobe and for that I ran the command mri_annotation2label to create ?h.entorhinal.label, ?h.temporalpole.label and ?h.parahippocampal.label from fsaverage and stored these labels in labels.?h directory. After this I ran mris_label2annot, taking cue from page https://surfer.nmr.mgh.harvard.edu/fswiki/mris_label2annot.
My command line is the following (fsaverage has been linked to my subject directory:
rmbp:AD Sampada$ mris_label2annot --s fsaverage --h lh --ctab /Applications/freesurfer/subjects/bert/label/aparc.annot.ctab --a myaparc --l ./labels_lh/lh.temporalpole.label --l ./labels_lh/lh.parahippocampal.label --l ./labels_lh/lh.entorhinal.label --nhits nhits.mgh
However, it comes with following error
*Writing annot to /Users/Sampada/Desktop/AD/fsaverage/label/lh.myaparc.annot* *could not write annot file /Users/Sampada/Desktop/AD/fsaverage/label/lh.myaparc.annot* *Permission denied*
Will you please let me know how to fix this problem . I can see its a permission error but don't know how to overcome it.
Thanks for your help
Kind regards,
Sampada