diff --git a/install.sh b/install.sh index 9ac97e8..1662824 100755 --- a/install.sh +++ b/install.sh @@ -90,6 +90,7 @@ then fi echo Setting up password file echo service,user,pswd > $HOME/.pasfile.csv &> /dev/null + chmod 600 $HOME/.pasfile.csv echo Loading GPG to encrypt the file for the first time. echo =========================================================== @@ -116,4 +117,4 @@ then exit 1 fi rm $HOME/.pasfile.csv -fi \ No newline at end of file +fi diff --git a/steelbox.sh b/steelbox.sh index 2470583..905c29c 100755 --- a/steelbox.sh +++ b/steelbox.sh @@ -49,6 +49,7 @@ then echo UNENCRYPTED FILE IN $HOME/.pasfile.csv echo PRESS ENTER TO QUIT read + chmod 600 $HOME/.pasfile.csv exit 1 fi rm $HOME/.pasfile.csv