VirtualBox

#21095 closed defect (fixed)

File Manager operations fail due to wrong guest path separator

Reported by: Galatic Owned by: pentagonik
Component: guest additions Version: VirtualBox 6.1.38
Keywords: Cc:
Guest type: Linux Host type: Windows

Description

When Guest Additions are installed and a file transfer is attempted through the File Manager utility, the final path separator before the file name is not handled correctly. In my case, it always ends up in the host's style.

I've confirmed this bug on several different Windows host PCs with various Linux guests, but it may affect other combinations as well.

I forget which release first introduced this bug, but it's been around for the last 2-3 stable releases at least.

Example (Windows host with Linux guest):

File "example.txt" transferred to "/home/user/Desktop" should end up at "/home/user/Desktop/example.txt".

Instead, it ends up at "/home/user/Desktop\example.txt", which creates a file named "Desktop\example.txt" in the "/home/user" folder.

Other (maybe all) File Manager functions suffer from the same path separator bug. Trying to rename the "Desktop\example.txt" file from the previous example, will instead rename "/home/user/Desktop/example.txt" (if it exists).

Change History (5)

comment:1 by gombara, 19 months ago

Owner: set to gombara
Status: newassigned

comment:2 by gombara, 19 months ago

Hi, Thanks for reporting. I have reproduced the bug. The fix will follow.

Last edited 19 months ago by gombara (previous) (diff)

comment:3 by gombara, 19 months ago

Status: assignedaccepted

comment:4 by pentagonik, 17 months ago

Owner: changed from gombara to pentagonik
Status: acceptedassigned

comment:5 by galitsyn, 17 months ago

Resolution: fixed
Status: assignedclosed

VirtualBox 7.0.4 was just released and available for download at https://www.virtualbox.org/wiki/Downloads. This issue should be fixed in this version. Next 6.1 maintenance release will also have the fix.

Last edited 17 months ago by galitsyn (previous) (diff)
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use