Cathy Fitzpatrick <ca...@cathyjf.com> writes: > First, `svn patch` is different from some other svn commands in that > it always sets mode 600 on the file regardless of umask or anything > else.
I see patch setting permissions according to umask. Why are you seeing something different? Which version of Subversion are you using? svnadmin create repo svn import -mm repo/format file://`pwd`/repo/f svn co file://`pwd`/repo wc echo xx >> wc/f (cd wc && svn diff) > p svn revert -R wc Now $ ls -l wc/f -rw-r--r-- 1 pm pm 2 Nov 22 10:03 wc/f $ (umask 070 && svn patch p wc) U wc/f $ ls -l wc/f -rw----rw- 1 pm pm 5 Nov 22 10:00 wc/f I get that behaviour with 1.7, 1.8 and trunk. -- Philip Martin | Subversion Committer WANdisco // *Non-Stop Data*