delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/04/19/13:00:52

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 19 Apr 2008 18:59:56 +0200
From: Spiro Trikaliotis <an-cygwin AT spiro DOT trikaliotis DOT net>
To: cygwin AT cygwin DOT com
Message-ID: <20080419165955.GD11912@trikaliotis.net>
MIME-Version: 1.0
User-Agent: Mutt/1.5.13 (2006-08-11)
X-SA-Exim-Connect-IP: 195.4.204.188
X-SA-Exim-Mail-From: an-cygwin AT spiro DOT trikaliotis DOT net
Subject: Subversion problems with "svn switch", "svn co", "svn switch", because of 'wrong' permissions in .svn/ directories
X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000)
X-SA-Exim-Scanned: Yes (on mail.trikaliotis.net)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hello,

I have run into the following issue with Subversion on cygwin. Note that
this problem does not occur when running the original Subversion
versions from subversion.tigris.org; unfortunately, the ones from
trigris.org do not work in a cygwin bash.

Ok, here is the description: Sometimes (!) when I do a "svn co" or "svn up",
I get the following error:

svn: Can't move 'src/arch/riscos/.svn/tmp/all-wcprops' to 'src/arch/riscos/.svn/all-wcprops': Permission denied

Note that the directory ('src/arch/riscos/') can be different.
Additionally, sometimes, it is not "all-wcprops", but the file
"entries".

To me, this seems to be related to the permissions of these files: 444
aka r--r--r--. It seems to fail to overwrite the file in
.svn/all-wcprops with the working copy from .svn/tmp/all-wcprops, as the
permissions are not set for writing.

As this error does not occur always, I would expect there is a race
between different code paths.


Note that a "svn switch" always results in the above error line. Thus,
for debugging purposes, using "svn switch" might be a much better
alternative.


This problems happens on two different computers, both running XP SP2. I
attached the output of "cygcheck -s -v -r > cygcheck.out" to this mail,
as requested on http://cygwin.com/problems.html.

Oh... If it is important, I have used DOS line endings when I installed
Cygwin. Additionally, today, I upgraded to the latest version, just to
make sure it is not fixed yet. Additionally, I could not find this
problem mentioned in this mailing list here.

Regards
Spiro.

-- 
Spiro R. Trikaliotis                              http://opencbm.sf.net/
http://www.trikaliotis.net/                     http://www.viceteam.org/

--
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019