-
Notifications
You must be signed in to change notification settings - Fork 855
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
file created on window side are not seen in Linux side #45
Comments
Have you tried ls -a? |
Yes of course |
While this is an interesting phenomenon, should probably take note of the comment by @bitcrazed on issue #44 , to paraphrase: manipulating the Linux filesystem from Windows may cause issues/corruption and should not be done. |
This is known and expected - please don't modify the "Linux filesystem" from Windows - here be dragons! |
This is interesting. Since we can't use Unix style permissions on the Windows mounts, how is one supposed to transfer and share data between the Linux and Windows environments? We're forced to manually cp back and forth from ~ to /mnt/*/? Wouldn't it be at all possible in future to have newly placed files from the Windows host side inherit it's parent permissions? As someone who uses Samba to share data on a virtualized Ubuntu OS right now, this is fairly disappointing to hear. |
You did show on the demo of bash that we have full fidelity of the filesystem between the two subsystems, and now you say it isn't so. It would be great with the guidance on how we are meant to use this. On the demo you mentioned that you can use any editor to edit file under the Linux sub system and was one of the pitches. |
I'm not sure what the issue-handling norms are on this project, but closing an issue without solving it would seem to imply "won't fix", which, in turn, would seem to render the bash-on-windows feature almost pointless. Understood that this is in beta, and that patience is in order. But not on the roadmap? If normal cross-OS file write will always be not only unsupported but potentially destabilizing, then what's the point? |
Interoperability is a big topic and something that we are well aware and conscious about. We understand the frustration here from lack of full interoperability and appreciate all the feedback. For the first beta release, our focus was delivering a strong developer focused scenario. Having said that, we do provide some basic interop today in terms of access to Windows volume through WSL.For the next release, we will be taking all of this feedback into account and try to incorporate in our planning. To help us prioritize for future release, please also provide this feedback through our User Voice Page. Regarding the topic of destabilizing, while it represents the current affairs, it is not an indication of the future state of the project. Please bear with us while we iterate on the project in its beta phase. |
Thanks, @sunilmut . Happy to be patient in the service of future progress! Could you explain, though, what developer-focused scenario you have in mind with the current capabilities? The primary one that occurs to me is being able to use git properly on a Windows machine, and that seems sketchy at present. |
confirmed that when using mklink /J to create a windows link to the Lxss/rootfs path, files could be updated but newly created files weren't visible in WSL. |
For records, adding link to user voice for the issue on this specific topic for people to vote up |
@bitcrazed Have you considered using UnionFS? https://github.com/rpodgorny/unionfs-fuse |
How does one go about determining whether this behaviour is "buggy" or not? As it stands, the current integration behaviour is "unexpected" at best, and by reasonable people would be considered "buggy" regardless of status in the bug tracker. Can someone please positively or negatively confirm that this behaviour is still: "Working as Designed, WONTFIX"? |
If you mean mucking with You can, however, modify files in |
In this case how should we go about editing/creating files? I don't really wanna have to create/edit stuff in my bash, would much rather use my IDE |
@Cyan101 The recommendation as per the blog post covering this issue (Do not change Linux files using Windows apps and tools), is to create your project files under |
Eh, you guys would all be better off running Linux in Hyper-V (assuming you're on Windows 10 Pro) for now - if you're not interested or able to directly contribute to the WSL project. It's pretty good, much faster than VMWare or VirtualBox since MS added the whole Enhanced Linux Guest stuff :D |
Unbelievable! Even cygwin has done a better job. I thought I will drop cygwin and msys for our users and replace them with the WSL, but it seems like WSL and Windows have not been integrated properly as other tools. |
There are work-arounds for this, just set your home folder to a different path and enable metadata on automount. Can't remember the exact steps but if you Google for it you'll find a guide. Sharing files between Linux and Windows works perfectly fine now, similar to using SMB in my experience.
…On 9 Mar 2019, Alon Bar-Lev ***@***.***> wrote:
Unbelievable!
Even cygwin has done a better job.
I thought I will drop cygwin and msys for our users and replace them
with the WSL, but it seems like WSL and Windows have not been
integrated properly as other tools.
--
Sent with <a href="https://play.google.com/store/apps/details?id=com.onegravity.k10.pro2"><b>K-@ Mail</b></a> - the evolution of emailing.
|
@alonbl worth noting --
|
I cannot access the file now. Is there any way I can delete that file? |
The original issue is resolved here. I believe if people want this functionality right now they'll have to get in on the slow ring, though.
Get BlueMail for Android
…On 3 Aug. 2019, 03:07, at 03:07, Dipansh Khandelwal ***@***.***> wrote:
I cannot access the file now. Is there any way I can delete that file?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
#45 (comment)
|
Ah, that works for me: files created on Windows, are visible on Linux via |
@vonamord I am guessing your color theme uses a white font on a light background. Try setting a dark theme. |
For those who are stumbling on this because it's high up in search results, here's the short version:
Refer to the comment from @jdmarch for a link to all the details. |
I can't believe this is not getting fixed. The whole point of WSL is that you can modify the linux file system from Windows! |
But it has been fixed, read previous comments. I had personally enabled automount and metadata of C drive, but this will add some minor IO overhead I imagine (nothing serious for an SSD, surely). |
Create a file with Notepad in C:\Users\xxx\AppData\Local\lxss\rootfs\tmp
File created can be displayed in Exporer
but it doesn't appear in linux
root@localhost:/mx6# cd /tmp
root@localhost:/tmp# ls
root@localhost:/tmp#
... nothing ...
even if I reboot my system
Regards,
The text was updated successfully, but these errors were encountered: