summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAlex Franco <alejandro.franco@linux.intel.com>2015-09-02 17:45:57 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-02 23:50:31 +0100
commit170cfa6a92effd197beb4b29704749a6a44deac7 (patch)
tree5ec9da781b9ef58a3b00e87f26c12e4276778f0c /scripts
parent060202cbfba0643cc4828bbc3d8099564578c584 (diff)
downloadopenembedded-core-170cfa6a92effd197beb4b29704749a6a44deac7.tar.gz
openembedded-core-170cfa6a92effd197beb4b29704749a6a44deac7.tar.bz2
openembedded-core-170cfa6a92effd197beb4b29704749a6a44deac7.zip
Fix recursive mode -st on BUILDDIR setup
Removing recursive option from chmod -st on BUILDDIR as it would take very long on existing build directories [YOCTO 7669] Signed-off-by: Alex Franco <alejandro.franco@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/oe-setup-builddir5
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index f5b7e4e2d0..25d9f134a1 100755
--- a/scripts/oe-setup-builddir
+++ b/scripts/oe-setup-builddir
@@ -24,7 +24,10 @@ if [ -z "$BUILDDIR" ]; then
fi
mkdir -p "$BUILDDIR/conf"
-chmod -R -st "$BUILDDIR"
+
+# Attempting to remove sticky and setuid bits from BUILDDIR and
+# BUILDDIR/conf directories. #TODO appropriate checks for this
+chmod -st "$BUILDDIR" "$BUILDDIR/conf"
if [ ! -d "$BUILDDIR" ]; then
echo >&2 "Error: The builddir ($BUILDDIR) does not exist!"