Skip to contentSkip to conversation

Kernel 2.2.17 bug found

DISCUSSION Jesse Pollard 1 participant 1 message Nov 9, 2000

lore
Share & tools
lore
#0 lore raw
Quoted 16 lines · Andrea Pintori

I've a Debian dist, Kernel 2.2.17, no patches, all packages are stable.

here what I found:

[/tmp] mkdir old
[/tmp] chdir old
[/tmp/old] mv . ../new
[/tmp/old] (should be /tmp/new !!)
[/tmp/old] mkdir fff
error: cannot write...
[tmp/old] ls > fff
error: cannot write...
[/tmp/old] ls -la
total 0 (?)
[/tmp/old] cd ..
[/tmp] ls -la

Quoted 5 lines
*****************       ./
*****************       ../
*****************       new/

Does anybody knew this bug?

Not a bug... possibly a typo though. The "[/tmp/old] mv . ../new" line destroys the definition of "current directory". The "mkdir fff" can't work since the current directory is no longer there, and is indicated by the lines:
[/tmp/old] ls -la
total 0 (?)

There is nothing to take a directory of.
-------------------------------------------------------------------------
Jesse I Pollard, II
Email: [email protected]

Any opinions expressed are solely my own.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
Please read the FAQ at http://www.tux.org/lkml/