There's a lot of information that I don't have about your installation.
I didn't give you specific commands because I'm not sure about all the
ways to set up SVN.
I use a pretty simple setup. We access our repo via
"svn://IP.address/repo" through TortoiseSVN here.
On the server, the repo permissions look like this:
drwxr-sr-x 6 svn-owner svn-access 4.0K 2010-04-14 13:30 mainr
I don't recall what svn-owner or svn-access has to do with anything,
however, I can point out that they have nothing to do with login
credentials of any sort.
Within the repo, mainr, there is a config path that includes and authz
and svn_passwd file that are referred to in the svnserve.conf file:
[general]
anon-access = none
auth-access = write
password-db = svn_passwd
authz-db = authz
If 'murray' worked here, his name would appear in the file "svn_passwd"
and his group definition would be in "authz".
He would not have an account at all on the svn server.
I'm not certain that the +s switch is really needed, but if you wanted
to apply it to the entire repo, you would need to do so recursively:
chmod -R g+sx mainr
Sarah Darien wrote:
> hi --
>
> thanks for getting back so fast. :)
>
> the .svn folder in the root of the repo did NOT have the "s" switch so
> i ran this in the root of the repo. is this what you had in mind i
> should try?
>
> /chmod +s .svn
> /
>
> i did this because it's only within the .svn that there are
> permissions issues when i commit.
>
> or did i completely miss the point?
>
> thanks again
>
> sarah
>
> On 15 April 2010 18:11, J. Norment <jnorment_at_q2software.com
> <mailto:jnorment_at_q2software.com>> wrote:
>
>
>
> This is just a guess, but I'm wondering if the subdirectories that
> are created by the application are getting the same permissions as
> the initial path. Do you have group set for +s? I think you need
> that, or subdirectories can be created that don't carry the same
> permissions as the parents...
>
>
>
>
> Sarah Darien wrote:
>> hey guys
>>
>> sorry to bring up (yet again) a permissions issue, but i've been
>> through the dox, followed the instructions, tried as much as i
>> can and now i think it's just me being stupid. i'm really hoping
>> someone here can help!
>>
>> when i try to commit a file to my SVN repo, i get the following
>> error:
>>
>> /Warning: 'post-commit' hook failed with error output:/
>> /svn: Can't open file
>> '/var/www/vhosts/mydomainname/httpdocs/.svn/tmp/entries':
>> Permission denied/
>>
>> my SVN account we're using is "murray".
>>
>> all files and folders on the server from httpdocs and lower are
>> owned by "murray" including the .svn folders and contents.
>>
>> this to me means that we should have permissions to do whatever
>> we want, right?
>>
>> obviously there's something i'm missing. can you tell me what?
>>
>> thanks in advance guys,
>>
>> sarah
>
>
Received on 2010-04-15 19:36:27 CEST