[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: cannot commit

From: Patrick Burleson <pburleson_at_gmail.com>
Date: 2005-08-31 02:24:02 CEST

On 8/30/05, Tom Brown <brown@esteem.com> wrote:
>
> I made the directory world writeable then received this error on check-in:
> svn: MERGE request failed on '/svn/est/modeminit195e'
> svn: Can't open file '/usr/local/estsvn/est/db/write-lock': Permission denied
>
> So I made the write-lock file world writeable and got this error:
> svn: MERGE request failed on '/svn/est/modeminit195e'
> svn: Can't move '/usr/local/estsvn/est/db/transactions/86-1.txn/rev' to
> '/usr/local/estsvn/est/db/revs/87': Permission denied
>
> So I did a 'chmod -R o+w /usr/local/estsvn' and now I can do a check-in.
>
> I don't like having my whole repsitory world writeable. Is there a way to fix
> this? I noticed that apache2 creates directories as nobody:svn. The nobody
> user is in the svn group so it should be able to create directories in the
> repository without the directories being world writeable. Is there a reason
> why it can't?
>
> Thanks,
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>
>

Have you tried adding the group sticky bit?

chmod g+s

This will ensure that the group permissions are propogated to
subdirectories and files when new ones are created.

Hope that helps,
Patrick

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 31 02:25:35 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.