delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/08/22:54:29

X-Spam-Check-By: sourceware.org
Message-ID: <4552A65C.4080500@cygwin.com>
Date: Wed, 08 Nov 2006 22:54:04 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060916 Fedora/1.5.0.7-1.fc4.remi Thunderbird/1.5.0.7 Mnenhy/0.7.4.0
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: unable to remove hard link
References: <31b7d2790611081448x1a3887d3lf6daa01a233e40de AT mail DOT gmail DOT com>
In-Reply-To: <31b7d2790611081448x1a3887d3lf6daa01a233e40de@mail.gmail.com>
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

DePriest, Jason R. wrote:
> I did some unfortunate experimenting with compiling different versions
> of Sleuthkit and Autopsy (http://www.sleuthkit.org) before they
> officially started supporting cygwin.
> 
> Autopsy wipes out your PATH when it runs to make sure you are using
> the correct version of the utilities.
> 
> This also means, it could not see any of the Cygwin dlls that the
> tools were compiled with (they've implemented intelligent work-arounds
> since then).
> 
> I tried hard linking the various dlls it needed in its designated bin 
> directory.
> 
> The experiment isn't important (since they now support Cygwin out of
> the box), what is important is that I cannot delete my hard links.
> 
> Actually, I can get it to go the recycle bin, but it won't leave the
> recycle bin.
> 
> I can 'restore' them but I cannot empty it.
> 
> Looking through my bash history file, I see I did:
> chmod a+rwx cygz.dll
> unlink cygz.dll
> 
> This let me delete the file as far as getting it to the recycle bin,
> but that is as far as I can go.
> 
> The specific error from Windows is:
> Error Deleting File or Folder
> Cannot delete cygz: Access is denied.
> Make sure the disk is not full or write-protected and that the file is
> not currently in use.
> 
> Since the file is in my recycle bin, this message makes no sense.
> 
> Is there some way I can make the original cygz.dll forget all about a
> couple of its hard links because ls still shows it has 3 total instead
> of 1 like every other single dll.

 From your cygcheck.out:

Warning: There are multiple cygwin1.dlls on your path

Get rid of the one in 'c:\Tools\Foundstone\'.  This is most
likely your problem.

Get rid of "ntea" in your CYGWIN environment variable.  You don't
need it and it could get in your way.

-- 
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
216 Dalton Rd.                          (508) 893-9889 - FAX
Holliston, MA 01746

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