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

user and group permissions

From: Claudio Miranda <claudio_at_claudius.com.br>
Date: 2004-03-24 05:36:43 CET

        Hi, I am trying to configure my system to use local repository, users
and groups, then I followed the instructions of "Supporting Multiple
Repository Access Methods - Chapter 6. Server Configuration"
(http://svnbook.red-bean.com/svnbook/ch06s05.html), after I tried

http://subversion.tigris.org/servlets/ReadMsg?list=users&msgId=298513

> - create a svn group and make sure your user belong to it,
> - give the repository ownership to www (or whatever user Apache is
> running),
> - chgrp the repository to the svn group,
> - alter the repository permissions in order give write permission and
> directory access to the svn group for the whole repository,
> - add the group ID permission to the directories,
> - make sure every user accessing the repository have a umask of 00x.

        But users are not capable to have 'write' access to repository, read
the configurations below:

# repository directory
[claudio@demolidor svn_repos]$ pwd
/home/svn_repos

# as you can see, I did a chmod g+s -R .
[claudio@demolidor svn_repos]$ l
total 36
drwxrwsr-x 7 svn svn 4096 Mar 22 01:28 ./
drwxr-xr-x 4 root root 4096 Mar 22 01:28 ../
drwxrwsr-x 2 svn svn 4096 Mar 22 01:28 conf/
drwxrwsr-x 2 svn svn 4096 Mar 22 01:28 dav/
drwxrwsr-x 2 svn svn 4096 Mar 22 01:28 db/
-rw-rwSr-- 1 svn svn 2 Mar 22 01:28 format
drwxrwsr-x 2 svn svn 4096 Mar 22 01:28 hooks/
drwxrwsr-x 2 svn svn 4096 Mar 22 01:28 locks/
-rw-rwSr-- 1 svn svn 376 Mar 22 01:28 README.txt

[claudio@demolidor svn_repos]$ id
uid=501(claudio) gid=501(claudio) grupos=501(claudio),500

# I want to be capable to write here.
[claudio@demolidor svn_repos]$ touch a
touch: cannot touch `a': Permission denied

# the user 'claudio' belongs to 'svn' group
[claudio@demolidor svn_repos]$ cat /etc/group|grep claudio
claudio:x:501:svn,claudio
svn:x:502:claudio

If you need some information, please reply.
Any info is welcome,

thank you, for your time.

Claudio

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Mar 24 05:37:28 2004

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.