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:45:06 +0000 (14:45 +0100)
commitbd565a22e88f32b9cba39322aecc6224b1cb4c96
treeeaac03d3a28113cdcb3c2a283fc5666ca455ce08
parent485f21cc08f6684dbcd7e4002950fc650cc82361
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.

(From OE-Core rev: d8c4f442c41bf3ac5e064630657cd3fa1b5c43b1)

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