Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Untrusted group warning

I have 'installed' sage following these instructions, by just extracting the latests binary tarball and then adding a symbolic link like so: ln -s ~/sage/sage /usr/local/bin/sage

Now every time I execute a file with sage path/to/file I get the following warning:

sys:1: RuntimeWarning: not adding directory '' to sys.path since it's writable by an untrusted group.
Untrusted users could put fi les in this directory which might then be imported by your Python code. As a general precaution from similar exploits, you should not execute Python code from this directory

Especially during debugging sessions the additional output tends to clutter up my screen a lot and pushes away the meaningful output. Is there any way I can fix this?

click to hide/show revision 2
retagged

Untrusted group warning

I have 'installed' sage following these instructions, by just extracting the latests binary tarball and then adding a symbolic link like so: ln -s ~/sage/sage /usr/local/bin/sage

Now every time I execute a file with sage path/to/file I get the following warning:

sys:1: RuntimeWarning: not adding directory '' to sys.path since it's writable by an untrusted group.
Untrusted users could put fi les in this directory which might then be imported by your Python code. As a general precaution from similar exploits, you should not execute Python code from this directory

Especially during debugging sessions the additional output tends to clutter up my screen a lot and pushes away the meaningful output. Is there any way I can fix this?