b2d1517ccd60c1c36094655729c4ae379b10497d

Author
Michael Aquilina <michaelaquilina@gmail.com>
Committer
Michael Aquilina <michaelaquilina@gmail.com>
Date

Message

Explain what 600 permissions means

Diff

 1diff --git a/autoswitch_virtualenv.plugin.zsh b/autoswitch_virtualenv.plugin.zsh
 2index 437f27fa2aa2c5d158492abc72051fe4673bcea4..1133aea218bafcc28b148f17897947417a6d7516 100644
 3--- a/autoswitch_virtualenv.plugin.zsh
 4+++ b/autoswitch_virtualenv.plugin.zsh
 5@@ -37,7 +37,7 @@ function check_venv()
 6           elif [[ "$file_permissions" != "600" ]]; then
 7             echo "AUTOSWITCH WARNING:"
 8             echo "Found a .venv file with weak permission settings ($file_permissions)."
 9-            echo "You should change this to 600."
10+            echo "You should change this to 600 (read only for only your user)"
11             echo "Run the following command to fix this: chmod 600 .venv"
12           else
13             SWITCH_TO="$(cat .venv)"