Just out of curiosity, why do I have to manually add x-mode to a venv activate script?
Just out of curiosity, why do I have to manually add x-mode to a venv activate script?
Found the answer. Default umask sets to 0002
The activate script is not supposed to be executed - it is supposed to be run with
source /path/to/activate
so that is updates the current environment. If you just execute it, all of the changes are applied to the sub shell that is created for the execution and do not affect the shell that you are using.
Thanks