The permissions are always drwx------, no matter what umask is set. This
is due to the use of withTempDirectory, which explicitly creates the
temporary directory with these permissions (on Unix), as I found out
just now.
The bug is in 2.12.5, 2.14.0, and screened, but not in 2.12.4.
I have a fix for this. It removes the use of withTempDirectory and thus
the dependency on the temporary package. I can either apply it to
screened, but then, when I pull it into branch-2.14, it pulls along
another patch with a change in darcs.cabal, which (I think) we want to
roll back in 2.14.x. Or I can make it apply cleanly to 2.14 but then I
get a conflict when I pull it into screened.
My current choice is the latter (i.e. send conflicting fix plus
resolution to screened). I'll send it as such but will await approval
before I push to screened.
resolved by
patch 4313c6925a27110cc2356753f2d277f066f15b5f
Author: Ben Franksen <ben.franksen@online.de>
Date: Wed May 30 18:35:09 CEST 2018
* resolve conflicts after pulling fix for issue2588 from branch-
2.14
Shall I view this patch? (1/?) [yN...], or ? for more options: n
patch 68a9016047b107486e49b1761ee6a58afd88a487
Author: Ben Franksen <ben.franksen@online.de>
Date: Wed May 30 14:27:32 CEST 2018
* resolve issue2588: no longer use withTempDirectory in
withNewDirectory