[CONSOLIDATED,PULL,06/12] meta/classes/sstate.bbclass: ensure sstate files have group R/W

Submitted by Saul Wold on May 17, 2012, 4:51 p.m.

Details

Message ID 1af318fbb61d72412d40a22eb2cc38e0650a4f8a.1337273095.git.sgw@linux.intel.com
State New
Headers show

Commit Message

Saul Wold May 17, 2012, 4:51 p.m.
From: Joshua Lock <josh@linux.intel.com>

In order to make sharing sstate files easier chmod them with 0664 permissions	so that they are readable and writable by the user and any other members of 	their group.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
---
 meta/classes/sstate.bbclass |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 3fc615d..ccef4a9 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -473,6 +473,7 @@  sstate_create_package () {
 	else
 		tar -cz --file=$TFILE --files-from=/dev/null
 	fi
+	chmod 0664 $TFILE 
 	mv $TFILE ${SSTATE_PKG}
 
 	cd ${WORKDIR}