This is the mail archive of the cygwin@cygwin.com 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]

1.1.10 Problem: mv and directories in use


On windows XP & 2000:
open 2 instances of cygwin

instance 1:
    mkdir /1 && echo "tst" > /1/tst && cd /1

instance 2:
    cd /
    mv /1 /2

Instead of returning an error, something like "/1" is in use, it copies /1
to /2, THEN returns:
mv: cannot remove directory `/1': Permission denied
mv: cannot remove `/1': Permission denied

Shouldn't it say something like:
mv: cannot move `/1': Directory in use

Regards,

Xavier Bergade.

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


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