From 3155ceca921689eaaf564e61acb7925daf177f22 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 4 Feb 2019 23:42:19 -0500 Subject: [PATCH] tracking down some rogue chmods saw complaints during a build on a low-power user which we don't want to see. just tracking where they are coming from now. --- scripts/core/create_tempdir.sh | 1 + scripts/core/generate_aliases.pl | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/core/create_tempdir.sh b/scripts/core/create_tempdir.sh index d1d28aaa..c435d2dd 100644 --- a/scripts/core/create_tempdir.sh +++ b/scripts/core/create_tempdir.sh @@ -28,6 +28,7 @@ export TEMP=$TMP # Make sure no one else is playing around in the temporary directory. chmod 700 $TMP +continue_on_error chmodding to secure temporary directory. if [ ! -z "$DEBUG_FEISTY_MEOW" ]; then echo done creating temporary directory....; fi diff --git a/scripts/core/generate_aliases.pl b/scripts/core/generate_aliases.pl index 2f6604cb..28202166 100644 --- a/scripts/core/generate_aliases.pl +++ b/scripts/core/generate_aliases.pl @@ -23,7 +23,7 @@ require "filename_helper.pl"; -use Env qw(FEISTY_MEOW_BINARIES BUILD_TOP FEISTY_MEOW_APEX FEISTY_MEOW_LOADING_DOCK FEISTY_MEOW_SCRIPTS DEBUG_FEISTY_MEOW ); +use Env qw(FEISTY_MEOW_BINARIES BUILD_TOP FEISTY_MEOW_APEX FEISTY_MEOW_LOADING_DOCK FEISTY_MEOW_SCRIPTS DEBUG_FEISTY_MEOW HOME ); # given a possible aliasable filename, this will decide whether to create a perl # or bash alias for it. it needs the filename of the possible alias and the @@ -170,7 +170,8 @@ if (! -d $FEISTY_MEOW_LOADING_DOCK) { # set the executable bit for binaries for just this current user. if (-d $FEISTY_MEOW_BINARIES) { - system("find \"$FEISTY_MEOW_BINARIES\" -type f -exec chmod u+x \"{}\" ';'"); +print "hey, debugging code here in generate_aliases.pl\n"; + system("find \"$FEISTY_MEOW_BINARIES\" -type f -exec chmod u+x \"{}\" ';' 2>$HOME/complaints_from_binary_chmod.txt"); } ############## -- 2.34.1