[tex-live] bug with file copying in tlpkg/TeXLive/TLUtils.pm

Norbert Preining preining at logic.at
Tue Sep 1 18:12:18 CEST 2009

On Mo, 31 Aug 2009, Daniel Villeneuve wrote:
>    $mode=(-x "$infile")? oct("0777"):oct("0666");
>    $mode-=umask;

Indeed, that is rubbish. Well spottet. Subtraction is not what we want.

On Di, 01 Sep 2009, Jukka Salmi wrote:
> +    $mode &= ~umask;

Yes, that is the right one.

Thanks you two for the fixes, I have committed Jukka's patch.

Best wishes


Dr. Norbert Preining <preining at logic.at>        Vienna University of Technology
Debian Developer <preining at debian.org>                         Debian TeX Group
gpg DSA: 0x09C5B094      fp: 14DF 2E6C 0307 BE6D AD76  A9C0 D2BF 4AA3 09C5 B094
The piece of leather which hangs off the bottom of your shoe before
you can be bothered to get it mended.
			--- Douglas Adams, The Meaning of Liff

More information about the tex-live mailing list