Windows 7 path length limit hit on shared folder

Discussions related to using VirtualBox on Windows hosts.
Post Reply
NamedNick
Posts: 14
Joined: 10. Apr 2013, 19:06

Windows 7 path length limit hit on shared folder

Post by NamedNick »

Hello,
I'm using vagrant and thus have mounted a host folder like C:\....\project\ inside the Linux guest on /vagrant/ using vboxsf. Using linux software inside (npm package manager from node) I hit a path length limit on the shared folder which doesn't happen inside the Guest on the guests native system.

I found https://www.virtualbox.org/ticket/11976#comment:1 and made a quick comment there but then, I wasn't sure if I really did proper research on that topic and want to ask for help if there's maybe a solution getting vboxsf work to allow the Guest on Windows creating paths which would translate to paths > 255 or chars on Windows?

thanks
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Windows 7 path length limit hit on shared folder

Post by Perryg »

Don't use vagrant. Or ask them what to do since this is their doing.
Paulina
Posts: 1
Joined: 8. Apr 2015, 16:42

Re: Windows 7 path length limit hit on shared folder

Post by Paulina »

I reccomend Long Path Tool. It solved all my problems.
NamedNick
Posts: 14
Joined: 10. Apr 2013, 19:06

Re: Windows 7 path length limit hit on shared folder

Post by NamedNick »

FTR record, multiple things happened which made this problem obsolete:

- Not using Windows anymore as Host (OSX)
- not using npm anymore but yarn, which AFAIK de-nests the hierarchy madness of npm
Post Reply