Doug Robinson at wandisco com


Found
r1864440

r1864440 | stsp | 2019-08-05 14:36:08 +0000 (Mon, 05 Aug 2019)

Fix 'svn patch' setting UNIX permissions to 0600 on patched files with props.

* subversion/libsvn_client/patch.c
  (init_patch_target): Use the working copy's own temp directory to store
   temporary files for patching, instead of using the system-wide temp dir.
   With a system-wide dir, permission paranoia in svn_io_open_unique_file3()
   may kick in and result in patched files with permissions not matching the
   umask. Generally, any temp files that may end up as user-visible files
   in the working copy should be created in the working copy's temp dir.

Reported by: Doug Robinson at wandisco com