File Manager operations fail due to wrong guest path separator
|Reported by:||Galatic||Owned by:||pentagonik|
|Component:||guest additions||Version:||VirtualBox 6.1.38|
|Guest type:||Linux||Host type:||Windows|
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).