"Woody" <usenet@[EMAIL PROTECTED]
> wrote in message
news:6950bmF306vicU1@[EMAIL PROTECTED]
> "Sak Wathanasin" <sw@[EMAIL PROTECTED]
> wrote in message
> news:87b75843-b9de-4732-9886-8b29c54ab208@[EMAIL PROTECTED]
>> On 15 May, 17:49, use...@[EMAIL PROTECTED]
(Woody) wrote:
>>
>>>> Anyway, if he can get stuff out of the repository but not update, it
>>> > could be a permission or lock problem.
>>>
>>> It is undoubtadly some kind of permissions problem, but I know not
what.
>>
>> What connection method are you using? svnserve, ssh, DAV? With the
>> first, the server process has to own the repository and everything
>> underneath it. With the 2nd, the ssh user you use to connect
>> (generally yourself) must have write perm to the repository dir and
>> everything below it. With the last, the httpd process (apache/nobody/
>> www/etc) must have write perm.
>
> It is a svnserve connection. There is a user subversion and in its user
> folder there is the repository.
> Just to be on the safe side I did a chown -R subversion:staff
repository,
> but nothing changed.
>
> I checked repository/conf/svnserve.conf and password-db points to
> passwd which contains all the username/passwords
> Just to be on the safe side I put the username/passwords in svnserve as
> well.
ok, found the problem, it was between the chair and the keyboard.
I must have im****ted the repository wrong in the first place. I had a
thought that I couldn't remember if that repository had ever worked on
this
server. I haven't touched that project for a while, and last time I did,
when I had finished I put it under subversion.
The other projects there had been there for years, and this was the only
one
that was added since I used OSX server, when I moved house a few years
ago.
I had also not commited on this machine or the iMac, as they are new.
I edited a file in the ratwarehouse project, and selected commit, and it
came up with a dialog box asking for username/password. Entered those and
it
commited fine.
So I typed svn list svn://mini.alienrat.ar
and got a list of about 10 projects, which is all the projects there,
other
than the project in question, so I tried
svn list svn://mini.alienrat.ar/nfrs
and it listed 'trunk'
So I had a look on the disk and got:
mini:~/repository subversion$ ls -la
total 16
drwxr-xr-x 10 subversi staff 340 Jan 1 18:59 .
drwxr-xr-x 15 subversi staff 510 Oct 1 2006 ..
-rw-r--r-- 1 subversi staff 229 Sep 30 2006 README.txt
drwxr-xr-x 5 subversi staff 170 May 13 22:29 conf
drwxr-xr-x 2 subversi staff 68 Sep 30 2006 dav
drwxr-sr-x 10 subversi staff 340 May 16 10:48 db
-r--r--r-- 1 subversi staff 2 Sep 30 2006 format
drwxr-xr-x 11 subversi staff 374 Sep 30 2006 hooks
drwxr-xr-x 4 subversi staff 136 Sep 30 2006 locks
drwxr-xr-x 9 subversi staff 306 Jan 1 18:59 nfrs
with that project stuck at the end. I looked in that directory, and sure
enough there was a complete replication, including a conf folder, with a
configuration file that wasn't set.
Set that, and all is fine!
Don't know how I did that, but svn is hardly very friendly at the best of
times and at least it is fine now.
--
Woody


|