For system wide files you can use firefox’s $SNAP_COMMON
directory (which translates to /var/snap/firefox/common/
) if you have things particulary bound to the firefoix version you could use $SNAP_DATA
which translates to /var/snap/firefox/current
though note that the latter dir gets copied forward with each new snap revision (and switches back along the snap if you do a snap revert
)
1 Like