linux permissions switch

The case is this: I was in the linux environment using git pull a software with the root account. This software and the corresponding need to support python library. In order to avoid contamination of the library catalog system environment, running python python environment through the establishment of a virtual environment to achieve. The problem is that virtual python environment is my personal account permission to build, and git pull software source code is the root user privileges. How to solve it? Many ways, I took a compromise, I put the document root privileges to change all the permissions.

sudo chown -R yuwq hotnet2

and then? Then compile successfully, the problem is solved!

Guess you like

Origin www.cnblogs.com/yuwq/p/11421881.html