External Email - Use Caution        

Hello James,
Maybe you could do a quick check to see if sudo permission is working for you.
This should always work to create and remove a file….
$ cd /tmp$ touch foo$ rm foo

… but sudo has to work for your account to do the same under /Applications
$ cd /tmp$ sudo touch /Applications/foo$ sudo rm /Applications/foo
If sudo does not work for you, then you will need to find someone with an 
account that has sudo privileges.
Assuming sudo works for you in the above example, then you could also try using 
the bash shell instead of zsh.  Just type “bash" at the terminal to get a 
bash shell and try the sudo mv command again.  (Zsh is not going to read 
your .bashrc file if you set it up for Freesurfer, umask, etc.)
$ bash

On Sep 19, 2020, at 10:17, James Hartzell <[email protected]> 
wrote:        External Email - Use 
Caution        Hi AndrewThanks for the 
suggestions. I removed freesurfer and reinstalled just 7.1.1.When I try to run 
the original patch you suggested I still get permissions problems, even with 
sudo.(base) jameshartzell@Jamess-MacBook-Pro ~ % which 
freesurfer/Applications/freesurfer/7.1.1/bin/freesurfer(base) 
jameshartzell@Jamess-MacBook-Pro freesurfer % cd $FREESURFER_HOME/bin(base) 
jameshartzell@Jamess-MacBook-Pro bin % sudo mv recon-all 
recon-all.backupPassword:(base) jameshartzell@Jamess-MacBook-Pro bin % sudo 
curl https://raw.githubusercontent.com/freesurfer/freesurfer/fs-7.1/scripts/recon-all >
 recon-allzsh: permission denied: recon-allHere's hoping you can send another 
fix!CheersJames-- James Hartzell, PhD (2x) Donostia-San 
Sebatián, SpainCenter for Mind/Brain Sciences (CIMeC), The University of 
Trento, ItalyCenter for Buddhist Studies, Columbia University, 
USA_______________________________________________Freesurfer mailing 
[email protected]https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer​
_______________________________________________
Freesurfer mailing list
[email protected]
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to