PDA

View Full Version : Subversion Permissions Error


gansos
11-02-2006, 12:28 AM
I just started using Subversion, and I running into a weird error. I have four users setup, and I created a repository using the apis control panel. I can checkout code just fine from all four accounts, but only the master account can check code in. When I try to check in code using any of the other accounts, I get the following error:
svn: Commit failed (details follow):
svn: Can't create directory '/home/repo/db/transactions/2-1.txn': Permission denied

The /home/repo dir is chmoded -R 777, so I have no idea why I'm still getting permission denied. Is there something else I have to do to give users access to the repository?

Thanks.

Matt
11-02-2006, 01:59 AM
I have $20 on it being that you didn't recursively change the /home/repo/ directory to 777. What's your domain name so I can check that out in more detail? You can either reply or drop me a PM.

jdedecker
11-29-2006, 09:49 AM
I have exactly the same problem and I verified that chmod was indeed recursive. I also verified that the directory I am working on is indeed the directory referred to in the configuration.

The problem persists.

gansos
11-29-2006, 04:54 PM
The problem has to do with ACLs on the relevant directories. These are not set with chmod, as would be expected. You can set and get ACLs using the commands setfacl/getfacl.

Hopefully this sheds some light on the problem.