VirtualBox

Opened 9 years ago

#13779 new defect

vobxsf breaks on long paths (> 260) with Windows host

Reported by: __cc__ Owned by:
Component: shared folders Version: VirtualBox 4.3.20
Keywords: vboxsf path length 260 Cc:
Guest type: Linux Host type: Windows

Description

Linux guest (Ubuntu 14.10), Windows (8.1) host.

When using shared folders, if the path length of a file is greater than 260, the file doesn't appear correctly in the guest. Note that the problem appears to be related to the path length in the host (Windows), rather than the path length in the mounted filesystem in the guest.

Here is an example of the problem:

$ ls -l
ls: cannot access 22-20131023143021.zip: No such file or directory
ls: cannot access properties.xml: No such file or directory
total 4
?????????? ? ?   ?      ?            ? 22-20131023143021.zip
-rwxr-xr-x 1 abc abc 3819 Jan 20 10:26 content.txt
?????????? ? ?   ?      ?            ? properties.xml

In the host, the length of the path (in the host fs) of context.txt is 258. It is readable in the guest (Linux). The other two files have a path length > 260 and are not accessible

Change History (0)

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use