David
David

Reputation: 69

svn setup permission issues

I'm having trouble setting up my svn. I used apt-get install subversion to install the software. The default svn folder was /home/svn/ I changed the ownership of the folder to an administrator account (not root) and a subversion user group I setup. I set the folder permissions to 0760 recursively through all the subfolders.

Yet whenever I try connecting to the repo I get this: "Commit failed (details follow): Can't open file '/home/svn/bftc/format': Permission denied".

I have no idea what's wrong!

Upvotes: 0

Views: 1278

Answers (3)

Maria
Maria

Reputation: 11

If your svn repository is owned by a group that you are not in, then 770 will not work. You have to be part of the group, or change permissions to 777. The former is preferable.

Upvotes: 1

Critical Skill
Critical Skill

Reputation: 2539

How have you set up the repository access? Does your user have permissions to access your repository? If it is via the svn access file you may want to check the user permissions.

Upvotes: 0

Stephen Newell
Stephen Newell

Reputation: 7838

Make sure your user has execute permission on any folder. 770 should work for you (as Newton Falls pointed out) as this will allow group execute.

Upvotes: 1

Related Questions