cloudapp: fix permissions of credentials file

Fixes #4151
master
Marc Cornellà 7 years ago committed by GitHub
parent 482587ccc1
commit 0c000af721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      plugins/cloudapp/cloudapp.plugin.zsh

@ -1,2 +1,6 @@
#!/bin/zsh
alias cloudapp=$ZSH/plugins/cloudapp/cloudapp.rb
alias cloudapp="${0:a:h}/cloudapp.rb"
# Ensure only the owner can access the credentials file
if [[ -f ~/.cloudapp ]]; then
chmod 600 ~/.cloudapp
fi

Loading…
Cancel
Save