#14018: sage-location problem with symlinks
---------------------------+------------------------------------------------
Reporter: cnassau | Owner: tdb
Type: enhancement | Status: new
Priority: minor | Milestone: sage-5.7
Component: relocation | Keywords: relocation, symbolic link
Work issues: | Report Upstream: N/A
Reviewers: | Authors: Christian Nassau
Merged in: | Dependencies:
Stopgaps: |
---------------------------+------------------------------------------------
With my setup I get this pretty often:
{{{
The Sage installation tree has moved
from /waste/cn/sage-5.6
to //waste/cn/sage-5.6
Updating various hardcoded paths...
}}}
Source of the confusion appears to be an extra symbolic link {{{/jehova ->
/}}} (that I need if I want to follow the link through an nfs share):
{{{
cn@jehova:/waste/cn> ll -d sage*
lrwxrwxrwx 1 cn users 25 Jan 26 13:19 sage -> /jehova/waste/cn/sage-5.6
drwxr-xr-x 8 cn users 4096 Jan 26 14:45 sage-5.6
cn@jehova:/waste/cn> ll -d /jehova
lrwxrwxrwx 1 root root 1 Jan 10 2009 /jehova -> /
}}}
The attached patch uses {{{os.path.samefile}}} for path comparison and
fixes this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14018>
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].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.