Description
So I'm trying to find a satisfying solution for sharing basilisk's cache between the biocbuild (BBS) and pkgbuild (SPB) users on nebbiolo1.
For this to work, basilisk's cache and any subfolder would need to be writable by both users. A good place for such shared cache is /var/cache/basilisk
(/var/cache
is kind of the standard system-level cache location on Linux). This can be controlled with the BASILISK_EXTERNAL_DIR
environment variable.
Now it's easy to manually set the permissions on this folder so that both biocbuild and pkgbuild can write to it, this is a one time thing to do. But we also need to make sure that any subfolder that gets automatically created after that will be writable by both users. One way to achieve this maybe is by having biocbuild and pkgbuild belong to the same group (right now they don't), and by setting the umask value appropriately. I'm going to explore that approach a little.