Print

Print


Hi, Matthew!

Thank you so much for your help, problem solved and thanks for the help!
(sorry for the late reply, there were other issues need to be solved before
enter the code to try it out).

Have a nice day!

Thanks,
Li

On Mon, Dec 23, 2019 at 9:20 AM Matthew Webster <
[log in to unmask]> wrote:

> Hello,
>   It’s generally considered a bad idea to directly modify the WSL
> filesystem via the “LocalState” directory, instead you should use the
> provided mount point provided ( /mnt/c ) within the WSL terminal to move
> files between your windows and linux filesystems ( see
> https://docs.microsoft.com/en-us/windows/wsl/faq for more details ). If
> you still get permission denied errors in transferring files across, you
> can use the chmod command in the WSL terminal to restore executable
> permissions, e.g.
>
> chmod u+x <file>
>
> Hope this helps,
> Kind Regards
> Matthew
> --------------------------------
> Dr Matthew Webster
> FMRIB Centre
> John Radcliffe Hospital
> University of Oxford
>
> On 21 Dec 2019, at 02:51, L jiang <[log in to unmask]> wrote:
>
> Hi,
>
>
> We used to run FSL on Virtual Linux Machine installed on our Windows PC.
> We have made some modifications to a few scripts (e.g.,
> \usr\local\fsl\src\tbss\tbss_3_postreg) and have been using the modified
> scripts under the Virtual Linux Machine without any problem. Now since we
> just started using FSL installed on Windows Subsystem for Linux (instead of
> Virtual machine), we will need to copy our modified scripts to the root
> folder under Windows so that we can use them.
>
>
> I was able to find this hidden folder under Windows:
> C:\Users\JiangL\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu16.04onWindows_79rhkp1fndgsc\LocalState\rootfs\usr\local\fsl\src\tbss
>
> However, it looks like the new scripts we copied to this folder would not
> run (it says “permission denied” when we try to run our modified scripts).
> I tried to see if this really is the root folder by deleting one of the
> default files (e.g., tbss_3_postreg), but tbss_3_postreg command still runs
> well even after I delete this file. This made me wonder maybe this folder
> is not the root folder I should copy my revised scripts to?
>
>
> Can anyone please help me figure this out? Thank you very much!
>
> ------------------------------
>
> To unsubscribe from the FSL list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
>
>
>
> ------------------------------
>
> To unsubscribe from the FSL list, click the following link:
> https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1
>

########################################################################

To unsubscribe from the FSL list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=FSL&A=1