On Monday, January 27, 2020 at 9:34:41 AM UTC-5, Marc Mezzarobba wrote: > > > I just noticed that Sage unconditionally changes the permissions of the > DOT_SAGE directory to rwx--- even after the user manually modified them > (sage/misc/misc.py, l. 92ff). It seems to me however that there are > perfectly valid reasons to share one's .sage with other users. Worse, > Sage crashes if the attempt to set the permissions fails (try chattr +i > ~/.sage).
In my opinion, it should set these permissions when it creates the DOT_SAGE directory for the first time (similar to how permissions of files like ~/.python_history or ~/.bash_history are set), but not adjust them if the directory already exists. It would be appropriate to write out a warning though if they are more permissive than rwx------. Matthias -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/98e8bc47-274b-45a8-b5b9-24601c069080%40googlegroups.com.
