You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "J. Bakshi" <jo...@infoservices.in> on 2009/01/15 11:01:29 UTC
How to fix the user and group permission of .svn file
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@subversion.tigris.org].
Re: How to fix the user and group permission of .svn file
Posted by Andy Levy <an...@gmail.com>.
On Thu, Jan 15, 2009 at 06:01, J. Bakshi <jo...@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@subversion.tigris.org].