From d8caef4f6e38efb739866a1de38f3bae8f1754ed Mon Sep 17 00:00:00 2001 From: Alex Franco Date: Wed, 2 Sep 2015 17:45:57 -0500 Subject: 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] (From OE-Core rev: 170cfa6a92effd197beb4b29704749a6a44deac7) Signed-off-by: Alex Franco Signed-off-by: Richard Purdie --- scripts/oe-setup-builddir | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scripts/oe-setup-builddir') 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!" -- cgit v1.2.3-54-g00ecf