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

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

From: Andy Levy <andy.levy_at_gmail.com>
Date: Fri, 16 Jan 2009 11:57:53 -0500

On Thu, Jan 15, 2009 at 06:01, J. Bakshi <joydeep_at_infoservices.in> wrote:
> 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.

If you're serving via Apache, why are you also mapping directly to the
repository via Samba?

Or are you putting a WC stored on a Samba share? If so, why? Sharing a
WC between users & OSes is not recommended and can lead to problems,
especially with permissions.. WCs are really meant to be local to the
user's workstation.

> -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

If the above questions aren't enough to get you going, see
http://tortoisesvn.tigris.org/faq.html#samba

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-16 18:09:10 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.