Hi Dima,

I don't have any experience with making a clones from/within a system-
wide install.  Normally, I have not tried to place it anywhere in
particular, that all just happens.  So if $SAGE_ROOT is my working
directory, I just use

./sage -clone xxx

and end up with a new directory

$SAGE_ROOT/devel/sage-xxx

Once you get this figured out, suggestions and improvements for the
developer walkthrough would be appreciated and can be incorporated.
Everything there now is written from the perspective of having a copy
of Sage installed on a per-user basis.

Rob

On Jul 30, 8:02 am, Dima Pasechnik <dimp...@gmail.com> wrote:
> it is a system-wide sage, right.
>
> So I must be misreading what
> devel/sage/doc/output/html/en/developer/walk_through.html#creating-a-
> sandbox
> is saying - I certainly know that I mostly can just do "cp -al ..." on
> a sage installation to make a copy, but I just thought
> this would be the right way.
>
> On Jul 30, 5:52 pm, Willem Jan Palenstijn <w...@usecode.org> wrote:
>
> > On Fri, Jul 30, 2010 at 07:47:17AM -0700, Dima Pasechnik wrote:
> > > While this gets me past this particular message, it still does not do
> > > the job:
>
> > > gu...@pasechnik1:/tmp/xx$ sage -clone xxx
> > > Now cloning the current Sage library branch...
> > > hg clone  sage sage-xxx
> > > abort: Permission denied: sage-xxx
> > > Error cloning
> > > ....
> > > -----
> > > Is it trying to make a clone in-place rather than at the location I
> > > want ?
>
> > The sage library of which sage are you trying to clone? It looks like 'sage'
> > might be a system-wide sage?
>
> > -Willem Jan
>
> > > On Jul 29, 9:48?pm, Rob Beezer <goo...@beezer.cotse.net> wrote:
> > > > Part 3, point #3 at
>
> > > >http://hub.opensolaris.org/bin/view/Community+Group+on/2008080405
>
> > > > says:
>
> > > > "you can put a [trusted] section into your own .hgrc"
>
> > > > Not a good solution universally, but maybe it will make a clone happen
> > > > for you?
>
> > > > On Jul 29, 8:11?am, Dima Pasechnik <dimp...@gmail.com> wrote:
>
> > > > > I tried on couple of other systems, and got pretty much the same
> > > > > problem.
> > > > > All is needed is to be logged in as an ordinary user, different from
> > > > > the one owning the sage
> > > > > installation. The following is on my laptop (sage install owned by
> > > > > dima, and logged in as guest)
>
> > > > > gu...@pasechnik1:~/test$ sage -clone test
> > > > > Now cloning the current Sage library branch...
> > > > > hg clone ?sage sage-test
> > > > > Not trusting file /usr/local/src/sage/sage-4.5.1/devel/sage-main/.hg/
> > > > > hgrc from untrusted user dima, group dima
> > > > > abort: Permission denied: sage-test
> > > > > Error cloning
> > > > > ...
>
> > > > > Dima
>
> > > > > On Jul 28, 7:57?pm, Rob Beezer <goo...@beezer.cotse.net> wrote:
>
> > > > > > I just saw this yesterday. ?I had installed Sage from source as a
> > > > > > normal user (myself), but then began messing around while in a shell
> > > > > > as root (oops). ?If I recall right, the first thing I did was
>
> > > > > > hg qinit
>
> > > > > > and then as a result several files had their ownership change to 
> > > > > > root
> > > > > > and I started to see the "Not trusting..." message. ?When I 
> > > > > > restored a
> > > > > > few files to the right ownership (fncache ?being one) all was well 
> > > > > > and
> > > > > > the message went away.
>
> > > > > > Maybe poke around in ?devel/sage/.hg ?and see who owns what?
>
> > > > > > Rob
>
> > > > > > On Jul 28, 5:07?am, Dima Pasechnik <dimp...@gmail.com> wrote:
>
> > > > > > > Dear all,
> > > > > > > any idea what to do with this:
>
> > > > > > > d...@sage:/scratch/dima$ sage -clone testcvxopt
> > > > > > > Now cloning the current Sage library branch...
> > > > > > > hg clone ?sage sage-testcvxopt
> > > > > > > Not trusting file /usr/local/sage/devel/sage-main/.hg/hgrc from
> > > > > > > untrusted user mvngu, group mvngu
> > > > > > > abort: Permission denied: sage-testcvxopt
> > > > > > > Error cloning
>
> > > > > > > real ? ?0m0.091s
> > > > > > > user ? ?0m0.070s
> > > > > > > sys ? ? 0m0.010s
> > > > > > > d...@sage:/scratch/dima$
>
> > > > > > > Thanks,
> > > > > > > Dima
>
> > > --
> > > To post to this group, send an email to sage-devel@googlegroups.com
> > > To unsubscribe from this group, send an email to 
> > > sage-devel+unsubscr...@googlegroups.com
> > > For more options, visit this group 
> > > athttp://groups.google.com/group/sage-devel
> > > URL:http://www.sagemath.org

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to