[Checkins] SVN: Products.GenericSetup/trunk/Products/GenericSetup/ When exporting a tarball, make the directory entries executable.

Wichert Akkerman wichert at wiggy.net
Thu Mar 4 07:12:55 EST 2010


On 2010-3-3 22:43, Maurits van Rees wrote:
> Modified: Products.GenericSetup/trunk/Products/GenericSetup/context.py
> ===================================================================
> --- Products.GenericSetup/trunk/Products/GenericSetup/context.py	2010-03-03 21:19:43 UTC (rev 109625)
> +++ Products.GenericSetup/trunk/Products/GenericSetup/context.py	2010-03-03 21:43:21 UTC (rev 109626)
> @@ -445,6 +445,8 @@
>               if path not in self._archive.getnames():
>                   info = TarInfo(path)
>                   info.type = DIRTYPE
> +                # tarfile.filemode(493) == '-rwxr-xr-x'
> +                info.mode = 493

Can you please write that as 0755? That is the standard notation for 
file modes which many people will immediately understand.

Wichert.

-- 
Wichert Akkerman <wichert at wiggy.net>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.


More information about the checkins mailing list