{"action":"created","issue":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/6409","labels_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6409/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6409/comments","events_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6409/events","html_url":"https://github.com/mitchellh/vagrant/issues/6409","id":112010075,"number":6409,"title":"Support for long share paths on Windows hosts","user":{"login":"Ingramz","id":1017132,"avatar_url":"https://avatars.githubusercontent.com/u/1017132?v=3","gravatar_id":"","url":"https://api.github.com/users/Ingramz","html_url":"https://github.com/Ingramz","followers_url":"https://api.github.com/users/Ingramz/followers","following_url":"https://api.github.com/users/Ingramz/following{/other_user}","gists_url":"https://api.github.com/users/Ingramz/gists{/gist_id}","starred_url":"https://api.github.com/users/Ingramz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ingramz/subscriptions","organizations_url":"https://api.github.com/users/Ingramz/orgs","repos_url":"https://api.github.com/users/Ingramz/repos","events_url":"https://api.github.com/users/Ingramz/events{/privacy}","received_events_url":"https://api.github.com/users/Ingramz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":29,"created_at":"2015-10-18T09:36:49Z","updated_at":"2015-11-04T18:25:18Z","closed_at":null,"body":"As @Pomax suggested, I am starting a new issue for the post-1.7.3 revert as noone else has done it yet and I am starting to need this at work, badly. \r\n\r\nIn short, when a file or folder is created in a folder on a guest that has been shared by a Windows host, the operation can fail if the created item exceeds host's path length limit. The most common use case is attempting to run a Linux guest on Windows host and installing packages through NPM where long dependency chains can easily exceed 260 characters. To remedy this, the folder should be shared using UNC path, which does not have a 260 character length restriction.\r\n\r\nWe had a fix in #5495 but it got reverted because something broke regarding the UNC paths in VirtualBox at the last minute. As far as I know, the latest versions still have this issue~~, but I haven't the chance to test it yet. Update: test build 5.0.7-103382 has the issue, test build 4.3.31-103278 seems to be working fine with UNC paths.~~\r\n\r\nThe course of action should be following:\r\n* [x] Find out VirtualBox versions where the UNC paths last worked.\r\n  * Virtualbox 4.3 has had mostly working implemenation of UNC shares for a long time\r\n  * Virtualbox 5.0 hasn't had UNC share support at all\r\n* [x] Find out exactly what is broken.\r\n  * Virtualbox 4.3 - `df -h` returns `df: '/vagrant’: Not a directory`, using files in share works flawlessly\r\n  * Virtualbox 5.0 - UNC shares aren't working at all\r\n* [ ] Work with VirtualBox team on solving this.\r\n  * VirtualBox 4.3 - no action yet\r\n  * VirtualBox 5.0 - [an issue had been opened already](https://www.virtualbox.org/ticket/14651), test build r103713 seems to be working, but more testing is needed.\r\n* [ ] Reintroduce changes to Vagrant.\r\n\r\n~~I've been out of the loop since #5495 got merged, so any help would be appreciated filling the blanks.~~\r\n\r\nOld issues #1953 #4815 \r\n\r\nCC @jfbibeau @celtric @dhampik"},"comment":{"url":"https://api.github.com/repos/mitchellh/vagrant/issues/comments/153819833","html_url":"https://github.com/mitchellh/vagrant/issues/6409#issuecomment-153819833","issue_url":"https://api.github.com/repos/mitchellh/vagrant/issues/6409","id":153819833,"user":{"login":"jfbibeau","id":5847314,"avatar_url":"https://avatars.githubusercontent.com/u/5847314?v=3","gravatar_id":"","url":"https://api.github.com/users/jfbibeau","html_url":"https://github.com/jfbibeau","followers_url":"https://api.github.com/users/jfbibeau/followers","following_url":"https://api.github.com/users/jfbibeau/following{/other_user}","gists_url":"https://api.github.com/users/jfbibeau/gists{/gist_id}","starred_url":"https://api.github.com/users/jfbibeau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfbibeau/subscriptions","organizations_url":"https://api.github.com/users/jfbibeau/orgs","repos_url":"https://api.github.com/users/jfbibeau/repos","events_url":"https://api.github.com/users/jfbibeau/events{/privacy}","received_events_url":"https://api.github.com/users/jfbibeau/received_events","type":"User","site_admin":false},"created_at":"2015-11-04T18:25:17Z","updated_at":"2015-11-04T18:25:17Z","body":"Thanks! At least they are being responsive, maybe we'll get to the bottom of it!"}}