Checkout
stsp
committed
on 05 Aug
Fix 'svn patch' setting UNIX permissions to 0600 on patched files with props.

* subversion/libsvn_client/patch.c
(init_patch_target): Use… Show more
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

Show less