On 11 Sep 2023, at 05:22, Chen Qi via lists.yoctoproject.org <[email protected]> wrote: > > SSTATE_DIR and DL_DIR are writable. Sharing them among different builds > owned/controlled by the same user is OK, but sharing these writable > directories among different users does not seem to be a good idea. > You could consider using the PREMIRRORS and SSTATE_MIRRORS.
If you have group-sticky bits on the parent directories and a shared group that all the users are members of then you can share sstate and dldir between different users. That’s the theory, at least. The last time I tried this in production there was a bug in sstate writing where the permissions would be incorrectly changed, but I couldn’t replicate with master so possibly this has been fixed. NFS is known to work fine (the autobuilder uses a NFS mount for sstate/dldir across tens of builders), and people have reported that Cephfs works well too. I’m not aware of anyone using Lustre. Ross
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#60967): https://lists.yoctoproject.org/g/yocto/message/60967 Mute This Topic: https://lists.yoctoproject.org/mt/101284965/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/leave/6691583/21656/737036229/xyzzy [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
