diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/oe-setup-builddir | 5 |
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!" |