I am currently trying to use virtualenv in my home directory to setup
different python environments but was met with the following error
[Errno 13] Permission denied. This happened using both virtualenv and
virtualenv-3.

After looking through /var/log/messages I found that the problem was
caused by placing python libraries outside of a wxallowed mountpoint
if I am reading the message of  W^X binary outside wxallowed
mountpoint correctly. . My guess is that python2.7 and python3.6 are
locked to /usr/local/bin.

So my question is, will there be any security implications that I
should be concerned about with setting wxallowed in /etc/fstab to the
home mountpoint? Is this the correct way in solving this issue for
using virtualenv or is there a recommended way that I haven't read /
come across yet?

As another test I did download the source from python.org for both 3.6
and 2.7 and compile them with the prefix being /home/jstephens/bin.
Which allowed me to use virtualenv and virtualenv-3 but I would rather
stick with the python binaries that came with openbsd.

Thanks,
Josh Stephens

Reply via email to