VLC won't play files inside hidden directory under /home/$USER

Edit: Did some more search and I’ve found out that snap applications are denied permission for top level hidden directories. I set my aria2 default save location to $HOME/.local/share/download. So that’s the problem.

I get this error when I play the files

filesystem stream error: cannot open file "file_name" (Permission denied)

It only happens if the file is inside a hidden directory under my home directory. It has no problem when the hidden folder is under /media.

$ snap version
snap       2.35.5
snapd      2.35.5
series     16
linuxmint  18.3
kernel     4.15.0-38-generic

$ vlc --version
VLC media player 3.0.4 Vetinari (revision 3.0.4-0-gf615db6)
VLC version 3.0.4 Vetinari (3.0.4-0-gf615db6)
Compiled by jenkins on 00a8999d3f68 (Sep  3 2018 11:57:09)
Compiler: gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9)
This program comes with NO WARRANTY, to the extent permitted by law.
You may redistribute it under the terms of the GNU General Public License;
see the file named COPYING for details.
Written by the VideoLAN team; see the AUTHORS file.

VLC was installed by using sudo snap install vlc.


I just got it “working” by installing it with --devmode.

$ sudo snap install lsd --devmode

If that helps
snap version gets "Permission denied