1 |
On Fri, 2004-11-12 at 08:08 +0100, Dirk Heinrichs wrote: |
2 |
> > Hallo Listenbewohner, |
3 |
> > |
4 |
> > ich bin doch glatt zu doof ein Verzeichnis ./foo//bar zu löschen. |
5 |
> > Immer wenn ich es versuche sagt er mir, das es noch nicht leer sei. |
6 |
> > (Was ein ls -la nicht bestätigt.) |
7 |
> > |
8 |
|
9 |
> Soll das heißen wenn Du ein ls -al ./foo machst, hast Du darin ein |
10 |
> Verzeichnis mit Namen "/bar"? Dann Versuchs mal so: rm -rf foo/\/bar. |
11 |
|
12 |
Hallo Dirk, |
13 |
ich hab es natürlich vorher schon mal auf diesem Wege versucht, aber |
14 |
ohne Erfolg. Unten mal die Ausgaben der einzelnen Befehle. |
15 |
|
16 |
test:/tmp# ls -la foo/ |
17 |
drwxr-xr-x 4 root root 4096 2004-11-12 01:19 . |
18 |
drwxrwxrwt 6 root root 4096 2004-11-12 06:29 .. |
19 |
drwxr-xr-x 5 root root 4096 2004-11-12 01:15 bar |
20 |
|
21 |
test:/tmp# rm -rf foo/\/bar |
22 |
rm: Entfernen von Verzeichnis ,,foo//bar" nicht möglich: Das Verzeichnis |
23 |
ist nicht leer |
24 |
|
25 |
test:/tmp# ls -la foo/bar/ |
26 |
drwxr-xr-x 5 root root 4096 2004-11-12 01:15 . |
27 |
drwxr-xr-x 4 root root 4096 2004-11-12 01:19 .. |
28 |
test:/tmp# |
29 |
|
30 |
|
31 |
test:/tmp# ls -la foo/\/bar/ |
32 |
drwxr-xr-x 5 root root 4096 2004-11-12 01:15 . |
33 |
drwxr-xr-x 4 root root 4096 2004-11-12 01:19 .. |
34 |
test:/tmp# |
35 |
|
36 |
=> Das ist zum Mäusemelken! Ein leeres Verzeichnis wehrt sich standhaft, |
37 |
leer zu sein!!! |
38 |
|
39 |
|
40 |
-- |
41 |
gentoo-user-de@g.o mailing list |