gvfsd-archive refuses to mount archive files which are not 'compressed folders'
Background: I am using automounter package from AUR on my Arch machine. It's a link to gvfsd-archive and mounts several types of archive files. This program is actually a .desktop file with following contents:
[Desktop Entry] Encoding=UTF-8 Name=Archive Mounter Icon=gtk-cdrom Exec=/usr/lib/gvfsd-archive file=%u MimeType=application/x-cd-image;application/x-bzip-compressed-tar;application/x-compressed-tar;application/x-tar;application/x-cpio;application/zip; Terminal=false StartupNotify=false Type=Application NoDisplay=true
My desktop environment is cinnamon. I am using Nemo file manager. I mount archives by right click > open with Archive Mounter.
My problem is: When I mount an archive file, say foo.zip, which is a compressed folder, mounting and unmounting works correctly. But, when I mount a foo.zip which is set of files compressed directly (no folder), it mounts and unmounts the archive correctly for only one time. If I try to remount it, it says:"cannot display the archive file 'foo.zip': the location is not a folder". I can't mount it anymore until I reboot.
Expected Behavior: If gvfsd-archive expects an archive to be a compressed folder, then it should readily refuse to mount any archive that is not a compressed folder on the first instance itself.
But it mounts the archive and works correctly for first time, refusing on remount.
Any solution ? Am I missing something ?