delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/02/16/18:53:58

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: Unable to delete a number of directories...
Date: Wed, 16 Feb 2005 15:47:30 -0800
Lines: 33
Message-ID: <cv0m80$di0$1@sea.gmane.org>
References: <6 DOT 2 DOT 1 DOT 2 DOT 2 DOT 20050216135122 DOT 04b62eb0 AT pop DOT garc DOT com> <200502162221 DOT j1GML1wa020428 AT shell01 DOT lg DOT garc DOT com> <6 DOT 2 DOT 1 DOT 2 DOT 2 DOT 20050216142351 DOT 05b21370 AT pop DOT garc DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: farscape.lynx.com
User-Agent: Mozilla Thunderbird 1.0 (X11/20041206)
In-Reply-To: <6.2.1.2.2.20050216142351.05b21370@pop.garc.com>
X-Gmane-MailScanner: Found to be clean
X-Gmane-MailScanner: Found to be clean
X-MailScanner-From: goc-cygwin AT m DOT gmane DOT org
X-MailScanner-To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

Evan Platt wrote:

> At 02:20 PM 2/16/2005, you wrote:
>
>> My guess is that it's a Windows NTFS permissions issue.  Assuming you 
>> want to blow away the entire C:\cygwin tree and start again fresh:  
>> log on as Administrator, take ownership recursively of the entire 
>> tree, and reset permissions recursively of the entire tree.  You then 
>> should be able to delete it.
>
> I'm running XP. Never come across this before. I do have admin rights 
> (this is my own home machine). I've tried with Windows Explorer and 
> Windows Commander - I can't even remove the read-only attribute on the 
> file.
>
> Pardon my ignroance - does taking ownership recursively of a folder 
> apply under XP home? If so, I have no idea how to do that, nor is that 
> anything I've ever needed to do.
>
> Only thing I see when right clicking that folder is properties, and if 
> I uncheck Read-Only, when I hit apply I get access denied.

If your getting access denied then you're not the owner. What do you see 
when you open an Explorer, right click on the Cygwin folder, select 
Properties. Do you see a Security tab. If so go there then click 
Advanced, then Owner. Select your user and that should recursively take 
ownership of the folder. Not certain on XP Home if this is exactly the 
same but it's similar. You can check it by OKing out of everything then 
going back to the Security tab. It should list the user you selected 
there at least. Plus the Advanced: Owner tab should show the new owner. 
At this point deletion should be possible.
-- 
How do you tell when you run out of invisible ink?


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