5d379611ac898d9b5c68629ea12e98187e6ed805

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

Message

Update Security Warnings on README

Diff

 1diff --git a/README.md b/README.md
 2index 9a2e040ac394ae5451884ae95288ad2989119a82..f33d22a5472c36198dfb3312146d363e8ca4858b 100644
 3--- a/README.md
 4+++ b/README.md
 5@@ -173,18 +173,19 @@ antigen bundle MichaelAquilina/zsh-autoswitch-virtualenv
 6 
 7 #### Set verbosity when changing environments
 8 
 9-You can prevent verbose messages from being displayed when moving between directories. 
10+You can prevent verbose messages from being displayed when moving between directories.
11 You can do this by setting `AUTOSWITCH_SILENT` to a non-empty value.
12 
13 
14 Security Warnings
15 -----------------
16 
17-zsh-autoswitch-virtualenv will warn you in the following situations:
18+zsh-autoswitch-virtualenv will warn you and refuse to activate a virtual envionrment automatically in the following situations:
19 
20-* You are not the owner of the `.venv` file found in a directory. It will refuse to activate that virtual envionrment automatically.
21+* You are not the owner of the `.venv` file found in a directory.
22+* The `.venv` file has weak permissions. I.e. it is readable or writable by other users on the system.
23 
24-* The `.venv` file has weak permissions. Zsh will warn you that you should change `.venv` file to have read only permissions if it is not set that way already.
25+In both cases, the warnings should explain how to fix the problem.
26 
27 These are security measures that prevents other, potentially malicious users, from switching you to a virtual
28 environment you did not want to switch to.