#13579: test_executable security risk
---------------------------------------------------------------+------------
Reporter: vbraun | Owner:
mvngu
Type: defect | Status:
needs_review
Priority: blocker | Milestone:
sage-5.4
Component: doctest | Resolution:
Keywords: | Work issues:
Report Upstream: Not yet reported upstream; Will do shortly. | Reviewers:
Volker Braun, Jeroen Demeyer
Authors: Jeroen Demeyer, Volker Braun | Merged in:
Dependencies: | Stopgaps:
---------------------------------------------------------------+------------
Comment (by vbraun):
Replying to [comment:33 jdemeyer]:
> OK, so how about printing a warning and dropping `sys.path[0]`?
Well if you desperately want it then knock yourself out, but I don't see
any benefit over just printing a warning.
The reason for why Python acts the way it does is such that the admin can
globally install Python programs. Which will generally be in a root-owned
directory (just like /tmp but without `o+w`).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13579#comment:34>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.