pythonpython-eggs异常解决方法

乐正涵意
2023-12-01

http://www.shsay.com

 

UserWarning: /home/server/.python-eggs is writable by group/others and vulnerable to attack when used with get_resource_filename. Consider a more secure location (set with .set_extraction_path or the PYTHON_EGG_CACHE environment variable).

warnings.warn(msg, UserWarning)

解决办法:
到对应目录下 /home/server/
chmod g-wx,o-wx .python-eggs/

原文链接:http://www.2cto.com/os/201405/304388.html

 类似资料: