I understand now.
"you cannot remove a Windows directory if it is in use -- if, for example, you are sitting on a command prompt under it. This type of restriction does not (usually) exist in UNIX/Linux: you *can* remove an in-use file (or directory)." The penny has dropped! Thank you! ________________________________ From: C de-Avillez <[email protected]> To: [email protected] Sent: Monday, 3 September 2012, 21:19 Subject: [Bug 1019316] Re: ls gives incorrect directory listing Sorry for the delay, this fell in a crack. I reset it to OPINION -- this is not a bug, anyway. I will still be looking at it. As far as I can remember (sorry, no more Windows available to test) you cannot remove a Windows directory if it is in use -- if, for example, you are sitting on a command prompt under it. This type of restriction does not (usually) exist in UNIX/Linux: you *can* remove an in-use file (or directory). Of course, doing so will cause all types of trouble for any user of the (now nonexistent) directory -- like the problem you see, and I showed how to replicate. There is no 'sync-ing' -- the moment you delete a file (or directory) it is gone. And the terminal you had under the directory now is sitting over nothing. ** Changed in: coreutils (Ubuntu) Status: Expired => Opinion -- You received this bug notification because you are subscribed to the bug report. https://bugs.launchpad.net/bugs/1019316 Title: ls gives incorrect directory listing Status in “coreutils” package in Ubuntu: Opinion Bug description: /* At this point I am expecting some files in /TEST/EXPORT, want to see them in received order... */ ubuntu@test-0001:~/TEST/EXPORT$ ls -ltr total 0 /* None???!!! what? */ ubuntu@test-0001:~/TEST/EXPORT$ ls /* Huh? - seen this many times now...I know the trick to making it work...*/ ubuntu@test-0001:~/TEST/EXPORT$ cd .. ubuntu@test-0001:~/TEST$ cd EXPORT ubuntu@test-0001:~/TEST/EXPORT$ ls -ltr total 32 -rw-rw-r-- 1 ubuntu ubuntu 241 Jun 29 15:51 AA_TEST000002_20120629145129_abcde_efghi_20120629145127.kkk -rw-rw-r-- 1 ubuntu ubuntu 20 Jun 29 16:03 AA_TEST000002_20120629150314_xyz -rw-rw-r-- 1 ubuntu ubuntu 242 Jun 29 16:06 AA_ABC1234568_20120629150615_abcde_efghi_20050101120218.kkk -rw-rw-r-- 1 ubuntu ubuntu 20 Jun 29 16:06 AA_TEST000002_20120629150643_xyz -rw-rw-r-- 1 ubuntu ubuntu 20 Jun 29 16:10 AA_TEST000002_20120629151012_xyz -rw-rw-r-- 1 ubuntu ubuntu 20 Jun 29 16:13 AA_TEST000002_20120629151342_xyz -rw-rw-r-- 1 ubuntu ubuntu 20 Jun 29 16:17 AA_ABC1234568_20120629151707_xyz -rw-rw-r-- 1 ubuntu ubuntu 20 Jun 29 16:17 AA_TEST000002_20120629151711_xyz /* That's more like it!!! */ ubuntu@test-0001:~/TEST/EXPORT$ ls --version ls (GNU coreutils) 8.13 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Richard M. Stallman and David MacKenzie. ubuntu@test-0001:~/TEST/EXPORT$ lsb_release -rd Description: Ubuntu 12.04 LTS Release: 12.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1019316/+subscriptions -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1019316 Title: ls gives incorrect directory listing To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/coreutils/+bug/1019316/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
