External Email - Use Caution        

Hello Team,

Thanks for the help before I successfully opened freeview. now i am trying to run recon-all for a nifti file. After setting the path 

export FREESURFER_HOME=/Applications/freesurfer/7.3.2

export SUBJECTS_DIR=$FREESURFER_HOME/subjects

source $FREESURFER_HOME/SetUpFreeSurfer.sh


My data is in downloads so I navigated to Downloads and then gave 


$ recon-all -s sub01 -i sub-AD003S1059S61129_0000.nii.gz -all


but I always get permission error


mkdir: /Applications/freesurfer/7.3.2/subjects/sub01: Permission denied

fs-check-version --s sub01 --o /var/folders/j3/plp0z25j1j969hgspftsz2fm0000gp/T//tmp.gqzblo

ERROR: cannot find sub01

recon-all: version check failed

fs-check-version --s sub01 --o /var/folders/j3/plp0z25j1j969hgspftsz2fm0000gp/T//tmp.gqzblo


so I did it with sudo then also I get error which I learnt that the environment changes with sudo so we shouldn't use sudo.


I tried keeping the data in the subjects folder and still the same error 


Could you help me with this?


Thank you 




--
Best Regards
Padma Priya
AI Developer 

PhenoMx, Inc.
priya@phenomx.ai | (+82)10-5405-2685