Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCHv3] Fix recursive mode -st on BUILDDIR setup
@ 2015-09-02 22:45 Alex Franco
  0 siblings, 0 replies; only message in thread
From: Alex Franco @ 2015-09-02 22:45 UTC (permalink / raw)
  To: openembedded-core; +Cc: clarson

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>
---
 scripts/oe-setup-builddir | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/scripts/oe-setup-builddir b/scripts/oe-setup-builddir
index f5b7e4e..25d9f13 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!"
-- 
2.5.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-09-02 22:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-02 22:45 [PATCHv3] Fix recursive mode -st on BUILDDIR setup Alex Franco

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox