sstate.bbclass: apply proper umask when fetching from SSTATE_MIRROR
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · Rasmus Villemoes via lists.openembedded.org
From: Rasmus Villemoes <[email protected]>
Currently, files and directories created under ${SSTATE_DIR} when fetching from an sstate mirror are not created with group write, unlike when the sstate artifacts are generated locally. That's inconsistent, and problematic when the local sstate dir is shared among multiple users.
Wrap the fetching in a
bb.utils.umask()context manager, and for simplicity move the mkdir ofSSTATE_DIRinside that.
Ping.