delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Subject: | RE: 1.3.2 rmdir fails if CWD is in the directory to be deleted? |
From: | Robert Collins <robert DOT collins AT itdomain DOT com DOT au> |
To: | Ronald Landheer <info AT rlsystems DOT net> |
Cc: | cygwin AT cygwin DOT com |
In-Reply-To: | <NFBBLOMHALONCDMPGBLFGELHCAAA.info@rlsystems.net> |
References: | <NFBBLOMHALONCDMPGBLFGELHCAAA DOT info AT rlsystems DOT net> |
X-Mailer: | Evolution/0.13 (Preview Release) |
Date: | 08 Sep 2001 23:53:52 +1000 |
Message-Id: | <999957233.9504.97.camel@lifelesswks> |
Mime-Version: | 1.0 |
X-OriginalArrivalTime: | 08 Sep 2001 13:40:45.0768 (UTC) FILETIME=[DCA71C80:01C1386B] |
On Sat, 2001-09-08 at 22:59, Ronald Landheer wrote: > Hm.. This should work.. I can easily delete the current dir in CygWin with the M$ Explorer, > but do get a "permission denied" when I try it in cygwin. (If I do > this: > $ cd > $ mkdir test > $ cd test > In explorer, delete p:\cygwin\home\RonaldLandheer\test > $ cd .. > I end up in ~/test/.. > > It would seem the _current_ process can't kill its own directory.. > Would it be possible to fork, go a dir lower and destroy it from there? (Haven't tried it yet, but I'd expect the same results) No. > Greetz! > > Ronald Try this to see whats going on: open up a cmd or command prompt. (No cygwin). mkdir foo cd foo no, from start|run, start up explorer now navigate to foo, and try to delete it. It might work on 9x, it won't on NT - ever. Rob -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |