From: "Andrew Cottrell" To: , "'Richard Dawe'" Cc: "'Eli Zaretskii'" Subject: RE: inode problem in `rm' Date: Sat, 16 Aug 2003 18:47:48 +1000 Message-ID: <000001c363d3$15b700f0$0101a8c0@acp42g> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 Importance: Normal In-Reply-To: <000601c360ae$2ab29af0$0101a8c0@acp42g> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h7G8mck18085 Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk Here is what I have found so far and where I am up to. I have removed the inode check in my rm.exe and I now have uncovered another problem with the LIBC rmdir.c code below in that it failes to remove a directory and as such the rm -rf contrib fails. I have tried both 0x3a and 0x713a int21 calls, but they both fail. I am running Win XP Pro with all the patches. Here is the main code from LIBC rmdir.c:- if(_USE_LFN) r.x.ax = 0x713a; else r.h.ah = 0x3a; r.x.ds = __tb_segment; r.x.dx = __tb_offset; _put_path(real_dir); __dpmi_int(0x21, &r); if (r.x.flags & 1) { errno = __doserr_to_errno(r.x.ax); return -1; } Here are some bebugging info:- removing all entries of directory `contrib/rhide/doc/german' removing the directory itself: `contrib/rhide/doc/german' acrmdir.c 26 mydirname= ->german<-, real_dir = ->german<- acrmdir.c 30 acrmdir.c 57 r.x.ax = 0x05 , errno = 4 From Ralh Brown's Interrupt list ax of 0x05 is:- 05h (5) access denied Here is the first problem directry info:- DJ204 E:\tmp>ls -la contrib\rhide\doc\german total 1 drwxr-xr-x 2 andrew root 0 Aug 16 16:59 . drwxr-xr-x 3 andrew root 32 Aug 16 16:59 .. Any ideas on what to try next or look at next? Andrew