I'm running Ubuntu 20.04 (64-bit) in the guest, under VirtualBox 6.1.38 on Windows 10 64-bit. I've noticed that, if I try to decompress a tar.gz archive from the VM to a shared folder, and the archive contains a folder with a colon in the name, the decompression fails. Is this a known problem?
Code: Select all
stefan@spuiu-vm:~/tmp$ mkdir test:22
stefan@spuiu-vm:~/tmp$ ls > test\:22/ls
stefan@spuiu-vm:~/tmp$ date >test\:22/date
stefan@spuiu-vm:~/tmp$ tar cfz test_22.tgz test\:22/
stefan@spuiu-vm:~/tmp$ cd /media/sf_c/temp/
stefan@spuiu-vm:/media/sf_c/temp$ mkdir test
stefan@spuiu-vm:/media/sf_c/temp$ cd test/
stefan@spuiu-vm:/media/sf_c/temp/test$ tar xf ~/tmp/test_22.tgz
tar: test\:22: Cannot mkdir: Protocol error
tar: test\:22: Cannot mkdir: Protocol error
tar: test\:22/ls: Cannot open: No such file or directory
tar: test\:22: Cannot mkdir: Protocol error
tar: test\:22/date: Cannot open: No such file or directory
tar: Exiting with failure status due to previous errors