Permissions for shared installation

I’ve followed the Tips and Tricks guide to create an /etc/installations.d/extra.conf file, pointing to the directory /opt/flatpaks that is shared over nfs. Everything works fine on the nfs host machine but when I try run on the nfs guest I get

$ flatpak run --installation=extra de.haeckerfelix.Shortwave
bwrap: execvp ldconfig: Permission denied
error: ldconfig failed, exit status 256

I obviously have some permissions and/or ownerships messed up but I can’t figure out what. I have the nfs partition (/opt/flatpaks) mounted with rw,no_root_squash options and can create files on it from the guest.

My /etc/flatpak/installations.d/extra.conf is

[Installation “extra”]
Path=/opt/flatpaks
DisplayName=Extra Installation
StorageType=harddisk

It is solved. I had an option in the fstab line that turned on “noexec” when mounting.

1 Like

This topic was automatically closed after 11 days. New replies are no longer allowed.