]> code.ossystems Code Review - openembedded-core.git/commit
sstate: Set umask to 002 before packaging runs
authorPhil Blundell <pb@pbcl.net>
Wed, 24 Apr 2013 12:07:47 +0000 (13:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 Apr 2013 13:43:50 +0000 (14:43 +0100)
commitd8c4f442c41bf3ac5e064630657cd3fa1b5c43b1
tree706e9d153b42e9bf7ed4819180c5e9a7435949b1
parent443e75ee2c0e9a62df997aef24855bce54d39177
sstate: Set umask to 002 before packaging runs

Otherwise we might end up creating directories under sstate-cache with whatever
random umask has been selected for the task that we're trying to package.  This
would be a bad thing since it might result in losing group write access for
newly created dirs, and/or losing group read access for the sstate files
themselves.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/sstate.bbclass