Something I noticed with sage-on-gentoo but would also affect
anyone installing sage as root to make it available on the system.
In http://trac.sagemath.org/sage_trac/ticket/12644
the installation of ellcurves has been altered and I am not sure
how to fix it.
In elliptic_curves-0.3 we have the following permissions inside
$SAGE_DATA/ellcurves:
-rw-r--r-- 1 fbissey fbissey 1003K Mar 28 13:17 rank0
-rw-r--r-- 1 fbissey fbissey 1023K Mar 28 13:17 rank1
-rw-r--r-- 1 fbissey fbissey 71K Mar 28 13:17 rank2
-rw-r--r-- 1 fbissey fbissey 26K Mar 28 13:17 rank3
-rw-r--r-- 1 fbissey fbissey 31 Mar 28 13:17 rank4
-rw-r--r-- 1 fbissey fbissey 32 Mar 28 13:17 rank5
-rw-r--r-- 1 fbissey fbissey 38 Mar 28 13:17 rank6
-rw-r--r-- 1 fbissey fbissey 42 Mar 28 13:17 rank7
-rw-r--r-- 1 fbissey fbissey 45 Mar 28 13:17 rank8
In 0.5 and likely 0.4 where the relevant changes have been made (I think):
-rw------- 1 fbissey fbissey 1003K Mar 28 13:16 rank0
-rw------- 1 fbissey fbissey 1023K Mar 28 13:16 rank1
-rw------- 1 fbissey fbissey 71K Mar 28 13:16 rank2
-rw------- 1 fbissey fbissey 26K Mar 28 13:16 rank3
-rw-r--r-- 1 fbissey fbissey 31 Sep 11 2011 rank4
-rw-r--r-- 1 fbissey fbissey 32 Sep 11 2011 rank5
-rw-r--r-- 1 fbissey fbissey 38 Sep 11 2011 rank6
-rw-r--r-- 1 fbissey fbissey 42 Sep 11 2011 rank7
-rw-r--r-- 1 fbissey fbissey 45 Sep 11 2011 rank8
In the later case you will have obvious problem if the user using
the data is not the same than the one installing it. I noticed it
when dosctest started to fail with 5.0.beta10 because rank3
could not be opened by a normal user in sage-on-gentoo.
Francois
> --
> To post to this group, send an email to sage-...@googlegroups.com
> To unsubscribe from this group, send an email to sage-devel+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
--
Andrew
Francois
Francois