Which version of sage? It should have been fixed in 6.4. We initially spotted 
this in sage-on-gentoo and someone finally opened an issue for it that got 
merged in 6.4:
https://github.com/cschwan/sage-on-gentoo/issues/289

François
> On 18/11/2014, at 23:48, Jan Groenewald <[email protected]> wrote:
> 
> Hi
> 
> Original problem: a PPA sage has a sage installation with system-wide files 
> owned by root.
> 
> Such a user running octave('1+1') get permission denied: 
> /usr/lib/sagemath/local/share/
> sage/ext/octave/user instead of running octave code (it does not clearly say 
> those don't exist, it just says permission denied).
> 
> Regards,
> Jan
> 
> 
> On 18 November 2014 10:30, Jan Groenewald <[email protected]> wrote:
> 
> Hi
> 
> By default our PPA installation does not have the folders octave and user in 
> 
> /usr/lib/sagemath/local/share/sage/ext/octave/user
> 
> And /usr/lib/sagemath/local/share/sage/ext/ is owned by root in a system-wide 
> install. I can add these two folders to the PPA, but would rather have then 
> added upstream with the correct permissions (755).
> 
> If I run 
> 
> sage: octave('1+1')
> 
> as root, the folders get created permission 700 and owned by root. Once I 
> made them 755, normal users can run octave in sage, and there does not seem 
> to be any files savedin those folders, they just need to exist. One error 
> remains though, when exiting sage:
> 
> 
> sage: octave('1+2')
>  3
> sage: r=octave('rand(1)')
> sage: r
>  0.484611
> sage: 
> Exiting Sage (CPU time 0m0.30s, Wall time 2m43.88s).
> Exiting spawned Octave process.
> Octave crashed -- automatically restarting.
> Octave crashed -- automatically restarting.
> 0 jan@mangoky:~$logout
> Connection to mangoky closed.
> 0 jan@muizenberg:/var/autofs/misc/home/jan$
> 
> 
> (whether run as me or as root I still get this message that octave crashed).
> 
> Regards,
> Jan
> 
> 
> 
> 
> -- 
>   .~. 
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^ 
> 
> 
> 
> -- 
>   .~. 
>   /V\     Jan Groenewald
>  /( )\    www.aims.ac.za
>  ^^-^^ 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sage-devel.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to