From: Chris Koeritz Date: Tue, 5 Feb 2019 04:42:19 +0000 (-0500) Subject: tracking down some rogue chmods X-Git-Tag: 2.140.115^2~37 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=3155ceca921689eaaf564e61acb7925daf177f22;p=feisty_meow.git 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. --- 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"); } ##############