[MERGE][#230567] Faster (local) branch

Robert Collins robertc at robertcollins.net
Thu May 29 02:41:03 BST 2008


On Thu, 2008-05-29 at 11:20 +1000, Andrew Bennetts wrote:
> 
> > > Fair enough. Right now, we're chmod'ing each file where executable
> > > is not None. I changed this to only set the mode is it was True.
> > 
> > AFAIK, that's not accurate.  Without further data, you don't know
> > whether the execute bit is being set on newly-created files.
> 
> Wow, really?  What platform/filesystem/environment creates new files
> with the
> execute bit set but also lets you unset it afterwards?  Is this a
> Windows issue?

I think unix can do this too - just have exec not masked out in your
umask, then create a file with mode 0777, it will happily keep the exec
bit.

What mode python passes to libc when one does 'file('foo', 'a')' is an
open question though.

-Rob

-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080529/e7138fe5/attachment.pgp 


More information about the bazaar mailing list