[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Svn client ignoring umask

From: Remigiusz Samborski <rsamborski_at_gmail.com>
Date: Fri, 24 Oct 2008 09:44:05 +0200

Hello.
We are using subversion in many website projects. Lately our servers where updated to use suExec
PHP. suExec requires that php files have permissions 644 - no write permission for group or other.

Svn client which is used to update and checkout websites keeps creating files with wrong
permissions. We need to manually change back to proper permissions. For instance:

# ls -l index.php
-rw-r--r-- 1 perpedes perpedes 3060 Oct 23 18:34 index.php
# rm index.php
# umask
0022
# svn update
Restored 'index.php'
At revision 18.
# ls -l index.php
-rw-rw-r-- 1 perpedes perpedes 3060 Oct 23 18:40 index.php
      ^ - the group write bit keeps getting set

The problem occurs only when 'svn update' creates new files. Modified files keep proper permissions.
We are using svn+ssh repository access method. I tried looking for answers, but without any luck.
Any help will be appreciated.

-- 
Best regards,
Remigiusz Samborski
NetShock.pl - Rozwiązania internetowe
ul. Gabrieli Zapolskiej 1/405
50-032 Wrocław
http://NetShock.pl - tel. (071) 710 47 66
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-10-24 17:35:31 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.