Opened 2 years ago
Closed 2 years ago
#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 , 2 years ago
Owner: | set to |
---|---|
Status: | new → assigned |
comment:3 by , 2 years ago
Status: | assigned → accepted |
---|
comment:4 by , 2 years ago
Owner: | changed from | to
---|---|
Status: | accepted → assigned |
comment:5 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
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.
Hi, Thanks for reporting. I have reproduced the bug. The fix will follow.