winnfsd / vagrant-winnfsd

Manage and adds support for NFS for Vagrant on Windows.
Other
567 stars 62 forks source link

Save file on guest machine problem #29

Closed mkocztorz-lifelike closed 9 years ago

mkocztorz-lifelike commented 9 years ago

Hi! First of all, thank you for this plugin. It makes Vagrant usable under win.

I made this comment under the article you wrote but later I found a link to github in comments. This seems a better place to do it.

My setup: vagrant 1.6.5 win 8.1 debian 7.5 x64, box created using puphpet

I got a weird problem on guest system: When something overwrites longer file with less content, the rest of the previous file content is still there (visible on both host anf guest).

Example: Let’s say I have a file with content AAAAA Now I use php to update it with: BBB and it is the simpliest test call: file_put_contents($testFile, “BBB”);

As a result I get: BBBAA

Using nano on files in shared folders gives similar results (newline is sometimes after new content), like this: BBB A

None of this happens when I update the file on host - then it works fine.

Any clue what this may be?

Thanks in advance

mkocztorz-lifelike commented 9 years ago

Ok, I see it was reported before in #8, #23 and #22. Linking in case anyone got here before reaching those. I did try to google that before I opened this issue but missed them somehow.