From: Chris Koeritz Date: Fri, 5 Jul 2013 00:27:12 +0000 (-0400) Subject: added a chown just to let user know if they don't own their own TMP. X-Git-Tag: 2.140.90~968 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=a52911ba510e29f287cd32156065fa210179813c;p=feisty_meow.git added a chown just to let user know if they don't own their own TMP. --- diff --git a/scripts/core/create_tempdir.sh b/scripts/core/create_tempdir.sh index 5a13bb88..76a6f08d 100644 --- a/scripts/core/create_tempdir.sh +++ b/scripts/core/create_tempdir.sh @@ -21,6 +21,10 @@ word=Verified if [ ! -d "$TMP" ]; then mkdir $TMP word=Created + chown $USER $TMP + if [ $? -ne 0 ]; then + echo "failed to chown $TMP to user's ownership." + fi fi if [ -z "$LIGHTWEIGHT_INIT" ]; then echo "$word transient area \"$TMP\" for $USER on $(date_stringer)." >>$LOG_FILE