I've installed Subversion on the Linux platform with Apache 2.2.8.
I've created my repository as a root user.
I've created inside the repository the folders: trunk, branches, and tags
I imported to the repository as the "root user" to the trunk folder the file /temp/testfile.txt (using the http://)
I've created a new group - called svnusers.
I've added apache and several more users to the svnusers group.
I've changed the owner recursively inside the repository to apache.
I've changed the group recursively inside the repository to svnusers.
I've added to the group the permission to write recursively - chmod g+w /myfolder/svn/repos -R
I'm able to "check out" as one of the group's users to my "working copy" I was able to edit the file.
(Each working copy located on the same server, it's the user's personal directory)
but when I tried to commit to the repository as one of the group users, I'm getting the following error message:
svn: Commit failed (details follow):
svn: Can't create directory '/soticsvn/svn/repos/db/transactions/1-1.txn': Permission denied
I've investigated the problem, and I found out that it might be SELinux (a 'security context') problem, but SELinux was always disabled.
(As mentioned here: http://subversion.tigris.org/faq.html#reposperms )
I seems more as a permission problem, but the owner of the repository's and the folders/files inside the repository is apache.
I need all the users in the group to be able to commit to the repository.
Hopefully someone will be able to help,
Thanks in advance,
Received on 2008-05-15 17:19:04 CEST