-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share basilisk's cache between the BBS and the SPB on the Linux builders #400
Comments
This is the setup I came up with:
Let's see how things go in the next couple of days. If everything goes fine, then we'll be able to remove Checking again a couple of days later that |
I'm just noting here that we'll want to try setting |
It is important that the group is the primary one for both users! Otherwise
newly created subfolders won’t be shareable.
…On Thu, 8 Feb 2024 at 17:14, jwokaty ***@***.***> wrote:
I'm just noting here that we'll want to try setting BASILISK_EXTERNAL_DIR
on merida1 next, where both biocbuild and pkgbuild are members of group
staff.
—
Reply to this email directly, view it on GitHub
<#400 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABYUQXTSKJWBKNIXJ2F3OTYSTTTZAVCNFSM6AAAAABC6ZIJPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZUGMZDSNJWGQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
@martin-g Absolutely!
@jwokaty That would be the next step. I'm running into some gotchas with the new setup on nebbiolo1. The I'll investigate more. |
Temporary hack (from a sudo account):
With this I can finally run Of course far from being satisfying because these commands would need to be re-run every time more stuff gets added to the cache. |
Similar setup on merida1 (but using With this new setup sketchR passes |
I appreciate pointer; I did just get lucky. On Macs, you don't automatically get a group that is the same as your username, like Linux. If https://unix.stackexchange.com/questions/410367/how-to-get-the-primary-group-of-a-user#answer-410370 is correct, the primary group is
|
Yes, we are lucky that on merida1, unlike on nebbiolo1, |
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 theBASILISK_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.
The text was updated successfully, but these errors were encountered: