$ :>1 ; :>2 ; :>3 ; mkdir 4 ; mv * 4
mv: cannot move `4' to `4/4': Operation not permitted
$ ls -lF
total 0
It doesn't make any difference what order the files and directory are
made. Nor does it matter if there is anything already in the
directory; it is always removed. I think it is necessary for the
directory name to be the last filename mv tries to rename. That is,
$ :>2 ; :>3 ; :>4 ; mkdir 1 ; mv * 1
mv: cannot move `1' to `1/1': Operation not permitted
$ ls -lF
total 0
-rw-r--r-- 1 agriffis network 0 Sep 29 14:20 1
mv 1 2 3 4 4 <-- produces bug (first example)
mv 1 2 3 4 1 <-- doesn't produce bug (second example)
Anybody else seeing this? I've only done preliminary testing so it's
entirely possible I'm missing something stupid.
-Aron
+----------------------------------------->
| Aron Griffis (agriffis@coat.com)
| Burlington Coat Factory - Network Group
+----------------------------------------->