External Email - Use Caution        

Hello FreeSurfer Developers,

Thank you for your work ! 

I am trying to segment .nii images with FS, using an ubuntu shell in Windows 10. When I run the command "recon-all" I receive the Error message that the file "exists but is not readable". So I tried converting the file with mri_convert but the following error appears: "niiRead(): error opening file".

I tried selecting several different .nii files from different subjects but the same errors appear, I think it is unlikely that all files are corrupted: what may be the cause? 

I am new to Freesurfer and I apologize if my question is naive but I cannot find a solution in any of the online resources.

Thank you very much for your time!
Best regards. 

________

$ recon-all -s S001 -i /usr/local/freesurfer/7-dev/ws44891-153636-00001-00192-1.nii

ERROR: /usr/local/freesurfer/7-dev/ws44891-153636-00001-00192-1.nii exists but is not readable

$ mri_convert /usr/local/freesurfer/7-dev/ws44891-153636-00001-00192-1.nii S001/mri/orig/001.mgz

ERROR: niiRead(): error opening file /usr/local/freesurfer/7-dev/ws44891-153636-00001-00192-1.nii