Hello,

On the first run of Sage, it is supposed to create some folders in .sage 
What I observe is that R directory is created only on the second run (and 
Sage fails to start if by then .sage is made immutable). Looking at 
https://github.com/sagemath/sage/blob/master/src/bin/sage-env I fail to see 
how it can happen. Any hints/fixes?

Thank you!
Andrey

.sage after the first and second runs:

sc_work@precell:~$ /home/sc_serv/sage/sage 
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.1, Release Date: 2017-12-07                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
Setting permissions of DOT_SAGE directory so only you can read and write it.
sage:                                                                           
                                                                                
                                                  

Exiting Sage (CPU time 0m0.06s, Wall time 0m1.34s).
sc_work@precell:~$ ls -la .sage/
total 0
drwx------ 1 sc_work sagecell  80 Mar  5 02:00 .
drwxr-xr-x 1 sc_work sagecell 110 Mar  5 02:00 ..
drwxr-xr-x 1 sc_work sagecell  94 Mar  5 02:00 cache
drwxr-xr-x 1 sc_work sagecell   0 Mar  5 02:00 db
drwxr-xr-x 1 sc_work sagecell  74 Mar  5 02:00 ipython-5.0.0
drwxr-xr-x 1 sc_work sagecell   0 Mar  5 02:00 matplotlib-1.5.1
drwxr-xr-x 1 sc_work sagecell  14 Mar  5 02:00 temp
sc_work@precell:~$ /home/sc_serv/sage/sage 
┌────────────────────────────────────────────────────────────────────┐
│ SageMath version 8.1, Release Date: 2017-12-07                     │
│ Type "notebook()" for the browser-based notebook interface.        │
│ Type "help()" for help.                                            │
└────────────────────────────────────────────────────────────────────┘
sage:                                                                           
                                                                                
                                                  

Exiting Sage (CPU time 0m0.04s, Wall time 0m1.14s).
sc_work@precell:~$ ls -la .sage/
total 0
drwx------ 1 sc_work sagecell  82 Mar  5 02:00 .
drwxr-xr-x 1 sc_work sagecell 110 Mar  5 02:00 ..
drwxr-xr-x 1 sc_work sagecell  94 Mar  5 02:00 cache
drwxr-xr-x 1 sc_work sagecell   0 Mar  5 02:00 db
drwxr-xr-x 1 sc_work sagecell  74 Mar  5 02:00 ipython-5.0.0
drwxr-xr-x 1 sc_work sagecell   0 Mar  5 02:00 matplotlib-1.5.1
drwxr-xr-x 1 sc_work sagecell  26 Mar  5 02:00 R
drwxr-xr-x 1 sc_work sagecell  14 Mar  5 02:00 temp
sc_work@precell:~$

-- 
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 sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to