Create an interface to allow snap app access /var/www directory

Hi,

I am using Gitkraken and my code is located in a pretty standard, I think it is, /var/www but I cannot access it because it’s located in /var/www

It would be awesome to be able to create interface for any directory in our filesystem, or at least creating an interface for this one.

Thank you,

The easiest way to get access to that folder from gitkraken is to bind mount the path into your home folder:

mkdir $HOME/www
sudo mount -obind /var/www $HOME/www
2 Likes