mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-04 22:41:12 +02:00
Use a temporary directory as egg cache
We have use with broken permission on their system. We try to workaround the issue. Fix #182
This commit is contained in:
1 parent
3704911c2d
commit
157bc18ebd
2 files changed
+51
No files matched your search
@@ -16,6 +16,16 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
# WARNING
|
||||
# Due to buggy user machines we choose to put this as the first loading modules
|
||||
# otherwise the egg cache is initialized in his standard location and
|
||||
# if is not writetable the application crash. It's the user fault
|
||||
# because one day the user as used sudo to run an egg and break his
|
||||
# filesystem permissions, but it's a common mistake.
|
||||
import gns3server.utils.get_resource
|
||||
|
||||
|
||||
import os
|
||||
import datetime
|
||||
import sys
|
||||
|
||||
Reference in new issue
Block a user