This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author jab
Recipients jab, loewis
Date 2009-02-11.22:26:25
SpamBayes Score 4.5137963e-06
Marked as misclassified No
Message-id <1234391188.16.0.481985154732.issue5220@psf.upfronthosting.co.za>
In-reply-to
Content
> My suspicion is that people setting explicit file permissions
> typically know what they are doing, and that you will find that
> your tickets get closed as invalid, explaining to you that this
> mode usage is fully intentional.

For what it's worth, I asked Mike Bayer (author of Beaker and Mako, the 
packages in question) what the intention was, and the 0750 seems to have 
been an error: Apparently HTML::Mason (what Myghty was based on) may 
have originally used 0750 but has since changed it to 0775 (search for 
"0775" in http://svn.urth.org/filedetails.php?
repname=Mason&path=%2Ftrunk%2Flib%2FHTML%2FMason%2FInterp.pm&rev=0&sc=0)
. The 0750 propagated from Myghty into Mako and Beaker, but has no 
apparent reason to be there.

For what else it's worth, I've run this by a few other programmers I 
consider quite smart and experienced (including Ian Bicking), and none 
of them realized the meaning of the mode parameter either. (If they had 
I never would have filed this ticket, as I checked with them first!)

I agree that knowledge of relative paths should be assumed, but I'm 
convinced that the mode behavior is widely misunderstood enough to 
warrant at least one-line "gotcha" in the docstring.
</$.02>
History
Date User Action Args
2009-02-11 22:26:28jabsetrecipients: + jab, loewis
2009-02-11 22:26:28jabsetmessageid: <1234391188.16.0.481985154732.issue5220@psf.upfronthosting.co.za>
2009-02-11 22:26:26jablinkissue5220 messages
2009-02-11 22:26:25jabcreate