On Sat, Aug 29, 2009 at 05:37:20PM +0000, Willem Jan Palenstijn wrote:
> 
> On Sat, Aug 29, 2009 at 10:25:54AM -0700, William Stein wrote:
> > On Sat, Aug 29, 2009 at 10:20 AM, Willem Jan Palenstijn 
> > <w...@usecode.org>wrote:
> > > Ok, done. This is now http://trac.sagemath.org/sage_trac/ticket/6843 .
> > 
> > 
> > Awesome. Could you post an example broken worksheet to the ticket (or link
> > to one) to make debugging easier?
> 
> Yes, of course; I added a basic '1+1' worksheet that exhibits the problem to
> the ticket.

... and now also a patch that should fix it. It runs a 'chmod -R go-rwx,+rwX *'
directly after untarring the sws. This has the effect of removing all
group/other permissions from all files, and then restoring those not masked by
the umask. (Except for the 'x' bit, which it only restores if it's not in the
umask, but is set for the user.)

This should ensure that permissions of an imported sws worksheet are the same
as those of a newly created one.

Any volunteers for a review? :-)

-Willem Jan

--~--~---------~--~----~------------~-------~--~----~
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
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to