Mail Archives: cygwin/2002/03/18/13:25:50
I am hoping some people can give me ideas on how to debug a problem I am
having with rm when invoked from cygwin's make.exe, which is using sh as
its shell. Basically, when I call "rm -r -f" from a makefile, it gives
me errors about "Permission Denied, Directory Not Empty". This is the
same error that I get when I try to manually rm a directory when I have
a separate shell cd'd there. I think that somehow make or sh are cd'ed
into the directory I am trying to rm, so it cannot be removed.
I am a newbie at debugging, so I am looking for specific ideas to try to
narrow down the problem to one particular thing; i.e. sh, make, rm, or
cygwin1.dll. I have tried replacing rm and the cygwin1.dll with
different versions, but I get the same error. I also tried replacing sh
with bash, same error. I plan on trying different versions of make and
sh, but if anyone can suggest what to strace or which files I can plug
printfs into, I would really appreciate it.
TIA,
Peter
--
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/
- Raw text -