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

DrvFs needs symbolic links and execute bit #712

Closed
marcosdiez opened this issue Aug 2, 2016 · 2 comments
Closed

DrvFs needs symbolic links and execute bit #712

marcosdiez opened this issue Aug 2, 2016 · 2 comments

Comments

@marcosdiez
Copy link

As of today, on WSL, we have two filesystems:

  • VolFS, that is 99.999% compatible with Linux but accessing it with Windows is not supported.
    • One can't use his/her favorite windows editor on its files
    • One can't copy them around with Windows Explorer
  • DrvFS, which does not support symbolic links nor the execute bit.
    • One can't work on any project with git or else it will freak out because of all the permissions
    • One can't work on any project which uses symbolic links

which means one can't realistically work on neither filesystems.

wouldn't it be possible for DrvFS to support the execute bit via NTFS extended attributes ? Same for symbolic links. We don't actually need them to have any meaning on Windows. It's completely fine if one can run a .exe file no matter if it has a execute bit or not and that one sees a an empty file if it's a symbolic link on windows.
That would make DrvFS good enough for 99% of the software and one could use the windows tools they are used to and love to work with.

@aseering
Copy link
Contributor

aseering commented Aug 2, 2016

@marcosdiez -- have you tried git config core.filemode false? It doesn't work for 99% of projects but I suspect it works for more than half.

Symlinks do work on DrvFs these days. Though if you create a symlink in Linux, it can't be used in Windows yet. That's covered by this ticket and this UserVoice.

@marcosdiez
Copy link
Author

that's all what I needed. 1000 thanks! I will close the issue.

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

2 participants