This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: rm seems to fail


On Tue, Jan 13, 2009 at 12:16 PM, greenup wrote:
> oh, I forgot to mention: right after doing the rm, the return code is
> success, even though it failed to actually remove the file.

rm with -f is silent about certain types of errors, usually of the
"file doesn't exist" variety.  So that sounds like rm thinks that
either it successfully deleted the file or it didn't exist in the
first place.

Is rm without -f able to remove goo/foo (after you confirm at the
prompt)?  If not, does it generate an error indication?

--
Mark J. Reed <markjreed@gmail.com>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]