External Email - Use Caution        

Hello Randy,
You can set SUBJECTS_DIR (via export command) to point a directory, e.g., where 
you have write permission.  You always have permission to write to your 
home directory, which in the VM is the path /home/developer.  The home 
directory path is saved in the shell environment variable $HOME.
So you could make a writeable directory for subjects under developer’s home 
directory.  (Below, pwd command = print working directory path).
$ echo $SUBEJCTS_DIR/usr/local/freesurfer/7.2.0/subjects$ cd $HOME$ 
pwd/home/developer$ mkdir subjects_new$ cd subjects_new$ 
pwd/home/developer/subjects_new$ export SUBJECTS_DIR=$HOME/subjects_new$ echo 
$SUBJECTS_DIR/home/developer/subjects_new
It should work to drag and drop a file *from* Windows Explorer *into* the VM 
using the Linux file browser GUI in developer’s home directory (or where you 
have write permission).  That is the example on page 19 of the 
VBox_load_image.pdf doc found 
under https://secure-web.cisco.com/12je3qk7PjFfZ8id7gOdQ3NmuWY5iAVuERBJsUSdKgKDhgk13ZDL5xoLCsm2sNTDfWqHAGyTqXR4rO4ASICg_N2VazCFr9oM3CCMYFoa2rbTB1u5xiiM6FwSlaGaqJw5QzilMMdM-hpXLzZhGllSPoZLbeOgrdKUPbY3Vxk4bqdcgS7dD7Sk8s90ddTz03ch3lWTMKXGBnKCXjSusG9OJiiMuJjnEUPL8FT2aHk9122PJUYSEd4dkHnSxWfO_sLVJg3NpW0X1lx_HqJ41yL1nKzD0eXec4eiYsOYE7_3D5mGqwlG68FPFVWFBsYkWQiRxSGnafkRPm0XPThWeAtLEAQ/https%3A%2F%2Fsurfer.nmr.mgh.harvard.edu%2Ffswiki%2FVM_67
 The example is dragging in the single license file (assuming you downloaded it 
on the Windows side).
You can also run a browser directly in the linux VM (uses the Windows host 
network connection) and download files directly into the VM from any web 
location, e.g., the license file.  There should be a Firefox browser icon 
to double click on in the upper left hand corner of the VM window under 
“Activities”.  Firefox downloads files into /home/developer/Downloads 
which you can navigate to via “cd” in the LInux terminal or you can go there 
via the Linux file browser GUI.  
If you have some cloud storage, e.g., which comes with a free Google account, 
then another option besides dragging in files or creating a mount point in the 
VM from the Windows side - is to use the cloud storage to swap 
(upload/download) files between the VM and any other computer using the web 
browsers.
- R.
On Feb 20, 2022, at 11:21, daedalu...@aol.com 
wrote:        External Email - Use 
Caution        Dear Freesurfers,I am a 
Linux novice.  Syntax is my major weakness.  On the other hand, I 
have been working with Windows for over 30 years.I was able to get the VM_67 up 
and running.  I had some prior experience using VM for a brief time in 
2014 (ver5.3) so I wasn't starting completely from scratch. I figured out how 
to share with my host (Win 10) and have one of my own test images in my 
sf-shared folder (I also copied it to the Desktop).I can navigate to 
/usr/local/... /subjects and I made a directory in "/subjects/" (realized I 
needed "sudo mkdir, but then I was successful).  However, after having 
done that, it occurred to me that that wasn't the right thing to do anyway.When 
I tried using the folder GUIs to drag/drop/copy the image into the test folder 
(old Windows habit), it simply rejected the action.  I'm assuming this is 
a permissions issue (everything in FS is "root" and everything in the VM is 
"developer'), but I am very spooked about using some type of chmod statement 
here.  If that's the only way to resolve this, would you be able to share 
some guidance and sample syntax to allow me to import the test image using the 
GUI?  Thanks in advance for any help you can provide.  This may 
also help others who need to do the same if I/we can resolve this (i.e., search 
archives). -Randy_______________________________________________Freesurfer 
mailing 
listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to