VirtualBox

Ticket #21095 (closed defect: fixed)

Opened 3 months ago

Last modified 12 days ago

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

comment:1 Changed 3 months ago by gombara

  • Owner set to gombara
  • Status changed from new to assigned

comment:2 Changed 3 months ago by gombara

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

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

comment:3 Changed 3 months ago by gombara

  • Status changed from assigned to accepted

comment:4 Changed 5 weeks ago by pentagonik

  • Owner changed from gombara to pentagonik
  • Status changed from accepted to assigned

comment:5 Changed 12 days ago by galitsyn

  • Status changed from assigned to closed
  • Resolution set to fixed

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 12 days ago by galitsyn (previous) (diff)
Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use