LibrePCB is Unable to Access Second Drive

I have a second storage drive, automounted at /Data and LibrePCB seems to be unable to access it.

I am forced to use the home heirarchy to create the workspace but I don’t want to do that. How can I get LibrePCB to recognize the second mounted drive? As far as I understand, the access permissions to the drive are correct.

This is a new install of LibrePCB via snap on a recent clean install of Ubuntu 22.04LTS.

uname -a
Linux ubuntubox 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux

About LibrePCB Details:
LibrePCB Version: 0.1.7
Git Revision: ba553c6fb
Build Date: 2022-10-03T12:33:29
Qt Version: 5.9.5 (built against 5.9.5)
CPU Architecture: x86_64
Operating System: Ubuntu Core 18
Platform Plugin: xcb
TLS Library: OpenSSL 1.1.1 11 Sep 2018

I figured it out! The problem had something to do with the application being packaged as a snap package though I’m not sure why this particular snap package has these restrictions while other snap packages such as firefox do not. After I changed the mount point of the external drive in my fstab to a directory under my home heirarchy (and rebooted), I can now access the files there.

1 Like


The corresponding permission needs to be enabled manually, see installation instructions: Installation on Linux | LibrePCB Documentation

Default permissions cannot be set by application developers, but only by the Snap administrators. I think for a popular app like Firefox it’s a no-brainer for them to give more permissions, but I doubt we can get this permission for LibrePCB…