X-Spam-Check-By: sourceware.org
Message-ID: <46B9DABA.7020901@Gymel.com>
Date: Wed, 08 Aug 2007 17:01:14 +0200
From: Thomas Berger <ThB@Gymel.com>
Reply-To: thb@Gymel.com
User-Agent: Thunderbird 1.5.0.12 (Windows/20070509)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: HEADS UP:Problem with svn under latest snapshot.
References: <f9ak21$n8n$1@sea.gmane.org>
In-Reply-To: <f9ak21$n8n$1@sea.gmane.org>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


It could be a matter of interference with TortoiseSVN.

Joe Smith wrote:
> Just in case you were not aware, Something has broken svn in the latest
> snapshot. (Actually at least the two most recent snapshots have this
> problem).
> 
> Here is the error: "svn: Can't move '.svn/tmp/entries' to
> '.svn/entries': Permission denied"
> 
> 
> LS output:
> $ ls -al .svn
> total 2
> drwxr-xr-x+ 6 Owner None   0 Aug  7 16:11 .
> drwxr-xr-x+ 3 Owner None   0 Aug  7 16:09 ..
> -r--r--r--  1 Owner None 192 Aug  7 16:09 entries
...
> 
> $ ls -al .svn/tmp
> total 1
> drwxr-xr-x+ 5 Owner None   0 Aug  7 16:11 .
> drwxr-xr-x+ 6 Owner None   0 Aug  7 16:11 ..
> -rw-r--r--  1 Owner None 192 Aug  7 16:11 entries
...
> 
> If I were to take a guess, i'm thinking it the "-r--r--r--" permission
> on .svn/entries that is causing the problem.
> Something probably changed in the permissions handling, causing the
> breakage.

Accidentally, I had the same problem today and found the following
helpful: < http://www.cygwin.com/ml/cygwin/2006-09/msg00081.html >
(I didn't have to disable Icon overlays completely, just restrict
them to "explorer only").

The cause seemed to be that "entries" additionally has the Windows R/O
attribute set and cannot be deleted by svn. Some of the #ifdef WIN32 in
libsvn_subr/io.c look interesting (if one argues that the Cygwin port
should put some more efforts in coexisting nicely with native svn
tools).

viele Gruesse
Thomas Berger


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

