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

AW: Re: The 'I cannot edit any file' HOW-TO

From: Markus Karg <markus.karg_at_quipsy.de>
Date: 2005-09-01 15:36:11 CEST

Mark,
 
since this only solves the problem when adding via Subclipse (I might have added by another client like Turtoise) it might be good to put my story in a FAQ or WIKI.
 
Markus
 

________________________________

Von: Mark Phippard [mailto:MarkP@softlanding.com]
Gesendet: Do 01.09.2005 15:34
An: users@subclipse.tigris.org
Betreff: Re: The 'I cannot edit any file' HOW-TO

This just came up earlier in the week with someone else wondering what the
red decorator means.

Technically, I think this is a bug in Subversion that it does not remove
the read-only attribute when you run svn add. They did not seem too keen
to fix it, so I added code in Subclipse to remove the read-only attribute
after the add operation runs.

That should take care of the problem.

Mark

"Markus Karg" <markus.karg@quipsy.de> wrote on 09/01/2005 06:26:41 AM:

> Dear Subclise Community,
>
> today I spent more than an hour because nothing worked in Subclipse. All
files
> had a red badge and I was not able to edit them. Subclipse told me that
I have
> to lock the files, but was not able to lock them. Also I was not able to

> unlock them. I tried thousand things but there was no solution. But then
I found it.
>
> To prevent you from suffering the same paine, here is a small HOW-TO for

> solving this issue. Maybe the subclipse admins like to add it to the
official FAQ.
>
>
> Symptoms:
>
> Each file has a red badge.
> You cannot modify a file.
> You cannot lock.
> You cannot unlock.
> Nothing helps. Neither update not cleanup nor rebooting Eclipse.
>
> Diagnosis:
>
> The files in your local workspace have the read-only bit set.
> (In my case, it was set by VSS, since before I was using SVN the project
was
> hosted in a VSS repository. And VSS sets the read-only bit on every file
it
> manages unless you have it checked out).
>
> Solution:
>
> Go to a command shell (Windows: CMD.EXE)
> Remove the read-only bit (Windows: CD to local workspace, ATTRIB -R *.*
/S).
> Update the local workspace (svn update).
> Back in Eclipse refresh the project (e. g. press F5 on the project's top
folder).
>
> Result:
>
> The badges should be gone after some seconds, and you should be able to
do
> whatever you want.

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Thu Sep 1 23:36:11 2005

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

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