On Mon, Oct 6, 2008 at 8:37 PM, Dan Drake <[EMAIL PROTECTED]> wrote: > On Mon, 06 Oct 2008 at 03:41PM -0700, William Stein wrote: >> > Okay, I just tried using the server_pool option. I can ssh >> > [EMAIL PROTECTED] from [EMAIL PROTECTED] I can run the sage server >> > without the server_pool option from the server account and successfully >> > evaluate cells. However, when the server_pool option gives >> > [EMAIL PROTECTED] as the ssh login to use, when I try to evaluate a cell, >> > I get an error like: >> > >> > Traceback (click to the left for traceback) >> > ... >> > IOError: [Errno 13] Permission denied: >> > '/home/server/.sage/sage_notebook/worksheets/myuser/0/code/1.py' > > That was exactly the sort of error I was getting. It seemed like no > amount of chmod'ing would fix it. > >> You should run a sage notebook that isn't in ~/.sage and >> set the permissions of that directory so that other users >> can read from it. Otherwise, there is no way this can work. > > Ah! That solved it. I might open a ticket for a better docstring -- I > never realized the permissions were related to the 'directory' option.
When sage starts up it makes damned sure the permissions on ~/.sage are not permissive, no matter what. It does this because literally tons of of what you do with the sage interfaces, notebook, etc., could be seen by watching that directory, which without care would be widely readable by default. -- William --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---