Try
# umask 077
(in the same shell, prior to testing)
Sebastijan V wrote on Thu, Mar 21, 2013 at 02:50:52 +0100:
> Hello
>
> I'm using Fedora. Until subversion-1.6.18-1 everything was OK.
> From version 1.7.8-1 I have following problem:
>
> # touch testfile
> # ls -la testfile
> -rw-r--r--. 1 root root 0 Mar 21 02:49 testfile
>
> # chmod 600 testfile
> # svn add testfile
> # ls -la testfile
> -rw-------. 1 root root 0 Mar 21 02:49 testfile
>
> # svn -m '' ci
> # ls -la testfile
> -rw-r--r--. 1 root root 0 Mar 21 02:49 testfile
>
> I don't think, that's OK.
> I was searching on the net, how to preserve permissions, but didn't find
> anything.
> Is any option, to leave permissions as they are while svn commit?
>
> with */strace svn -m '' ci/* I can see 'chmod 644'
>
> best regards, sebastijan
Received on 2013-03-21 14:24:12 CET