Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows Directories Not Accessible #84

Open
mramshad opened this issue Jan 23, 2016 · 3 comments
Open

Windows Directories Not Accessible #84

mramshad opened this issue Jan 23, 2016 · 3 comments

Comments

@mramshad
Copy link

Hi,

This is the first time I am starting to contribute to opensource development and When I was trying to use flinux. I downloaded the development versions of the software from https://ci.appveyor.com/project/wishstudio/flinux/build/artifacts then I extracted it and ran the run_bash.cmd. Up to this point there was no issue, but when I tried to small binary file which was produced in linux(Ubuntu) I couldn't access the windows directories to give my binary file as an argument to the flinux command.

Can anybody tell a way to access the windows directories using flinux?

Thanks

@ildar-shaimordanov
Copy link

@mramshad, you can create symbolic link to a directory within flinux directory tree. For example, assuming flinux is installed to c:\flinux:

mklink /d c:\flinux\archlinux\mnt\c c:\
cd c:\flinux
run_bash.cmd

When necessity of the directory link is gone, remove it:

rmdir c:\flinux\archlinux\mnt\c

Be careful, because this is not the mount point, it's just a link and nothing else. You are not able to restrict privileges on this directory, and being under flinux you could have all rights over /mnt/c contents.

Details here: http://ss64.com/nt/mklink.html

@wishstudio
Copy link
Owner

If you use the latest development snapshot, you should have no problem accessing native Windows directories in pseudo directories "/c/", "/d/", etc.

@GFdevelop
Copy link

cd /c/Users/
ls
ls: cannot open directory .: no such files or directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants