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

How to fix the user and group permission of .svn file

From: J. Bakshi <joydeep_at_infoservices.in>
Date: Thu, 15 Jan 2009 16:31:29 +0530

Dear list,

here is a typical problem and I am trying to fix it. Hope someone kindly
enlighten me.

In a remote server both svn and samba is running. users are accessing
svn through https:// and they have mapped the remote samba share as a
map drive in their window pc. Hence they can checkout from that remote
samba shares ( using tortoise svn client ). Now in samba it is forced to
get 775 permission and the groups are also fixed by "chmod g+s "
fine... There is no problem to checkout at the very first time. .svn is
created with proper group name and with 775 permission.

-rwxrwsr-x 1 apache bergundtal 2473 Jan 12 11:11 all-wcprops
-rwxrwsr-x 1 apache bergundtal 2652 Jan 12 11:35 entries
-rwxrwsr-x 1 apache bergundtal 2 Jan 12 11:11 format
drwxrwsr-x 2 apache bergundtal 1024 Jan 12 11:41 _notes
drwxrwsr-x 3 apache bergundtal 1024 Jan 12 11:41 prop-base
drwxrwsr-x 2 apache bergundtal 1024 Jan 12 11:11 props
drwxrwsr-x 3 apache bergundtal 1024 Jan 12 11:41 text-base
drwxrwsr-x 5 apache bergundtal 1024 Jan 15 14:52 tmp

But after the first CO it tries to change the owner permission of
all-wcprops, entries,format and evne make the ownership as readable
only. How can I stop this ? I am looking for an way so that the
owner:group combination will be always fixed and it will have 775
permission. Could any one kindly show me the way ? below is the apache
configuration for svn

--------------------------------------------------------------------------
<Location /repos>
DAV svn
AuthType Basic
      AuthName "Authorization Realm"
      AuthUserFile /home/SVN/PASSWD
      Require valid-user

SVNParentPath /home/SVN
#SVNParentPath /var/www/svn
#
# # Limit write permission to list of valid users.
   <LimitExcept GET PROPFIND OPTIONS REPORT>
# # Require SSL connection for password protection.
       SSLRequireSSL
#
      AuthType Basic
      AuthName "Authorization Realm"
      AuthUserFile /home/SVN/PASSWD
      Require valid-user
   </LimitExcept>
</Location>
-----------------------------------------------------------------

Thanks

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1026284

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-16 17:52:54 CET

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.