Fix recursive mode -st on BUILDDIR setup
PATCH v3 1/1 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 <[email protected]>
--- scripts/oe-setup-builddir | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
scripts/oe-setup-builddir +4 -1
@@ -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!"
Signature · 1 line
2.5.1