On Fri, Mar 5, 2010 at 11:33 AM, Minh Nguyen <[email protected]> wrote: > Hi Ryna, > > On Sat, Mar 6, 2010 at 6:16 AM, Ryan Hinton <[email protected]> wrote: > > <SNIP> > >> This isn't a docbuild -- this is a doctest. I'm just running the >> tests. I expect that when I run >> >> /system/path/sage -testall >> >> I should get an "All tests passed!" result for a successful install -- >> whether or not I have write access in the install tree. For example, >> the builder.py doctests might write to temporary files in my ~/.sage >> directory (where I have write access) and then compare their contents >> to the desired result. > > I think I misunderstood you. So allow me to apologize. What I'm trying > to say is that one should avoid trying to use a system-wide Sage > installation to run its own doctests. (Also avoid (re)building the > Sage standard documentation in a system-wide Sage installation.) Could > you please try running doctests using the system-wide Sage > installation on the machine sage.math, and report how it goes? At the > moment, it looks like I can do what you described above. However, > looking at the file permissions in the system-wide installation of > Sage 4.3.3 on the machine sage.math, I see that I have read and write > privileges for some files and directories. (I shouldn't be having such > privileges on sage.math for the system-wide Sage installation.)
That's really, really odd. wst...@sage:/usr/local/sage$ ls -lh total 47M -rw-r--r-- 1 mvngu mvngu 71K 2010-02-25 16:18 COPYING.txt drwxr-xr-x 17 root root 4.0K 2010-02-25 17:21 data drwxr-xr-x 4 root root 4.0K 2010-02-25 16:51 devel drwxr-xr-x 15 root root 4.0K 2010-02-04 15:54 examples drwxr-xr-x 22 root root 4.0K 2010-02-06 20:37 extra_docs -rw-r--r-- 1 root root 47M 2010-02-06 20:53 install.log drwxr-xr-x 2 root root 4.0K 2010-02-04 14:55 ipython drwxr-xr-x 15 root root 4.0K 2010-02-25 16:48 local -rw-r--r-- 1 mvngu mvngu 2.6K 2009-12-13 22:09 makefile -rw-r--r-- 1 mvngu mvngu 11K 2010-02-25 16:18 README.txt -rwxr-xr-x 1 mvngu mvngu 1.5K 2010-01-13 19:43 sage Maybe you somehow upgraded the system-wide sage in January once with sudo in some way when you were doing release management...? William -- To post to this group, send an email to [email protected] To unsubscribe from this group, send an email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org
