Unfertiges ZIP-Archiv kann nicht gelöscht werden ...

kielar

kielar

Linux-Eroberer
Moin,

habe mir eine ZIP-Datei erstellen wollen mit zip -9 dateiname quelldatei.
Mittendrin habe ich das mit Strg-C abgebrochen.

Nun habe ich eine Datei da stehen namens ziQk3DkU und kann diese nicht löschen.
Also chmod funktioniert aber kein rm-rf (Dateisystem ist CIFS)

Wie kriege ich diese Datei gelöscht ?
 
Datei löschen ...

rm -rf war natürlich blödsinn.

Habe nun sudo rf -f auf die datei ... probiert,
Endergebniss: -rwxrwSrwt 1 root root 65841214 Sep 5 16:32 ziQk3DkU
Also sie ist noch da ...

Warum möchtest du eine Datei rekursiv löschen...

versuchs doch mal mit einem



zu löschen.
 
Wow eine Todesresistente Datei :D

Mal neugestartet?
 
Datei löschen ...

Ja und auch schon unter Windows probiert zu löschen, aber auch ohne Erfolg ...

Windows ?
Ja, diese Datei befindet sich auf einem Windows-Server mit Dateisystem NTFS,
und das verzeichniss habe ich mit CIFS gemountet ...

Wow eine Todesresistente Datei :D

Mal neugestartet?
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

heisst natürlich sudo rm -f ...

Stimmt, genau so wie das hier:



Greetz,

RM
 
Zuletzt bearbeitet:
die fehlermeldung ... DIE FEHLERMELDUNG .oO( werden sie es denn nie lernen ... typisch windows ) ;(

ich glaube das gehört in ein fensterforum!
 
schon mal mit dem programm unlocker (windows) probiert, es entdeckt was die datei sperrt und kann eine freigabe erzwingen. dann muesste das löschen funktioniern.
 
Nein, das habe ich noch nicht ...
Ehrlich gesagt, möchte ich das wenn möglich aber mit openSUSe machen ...

schon mal mit dem programm unlocker (windows) probiert, es entdeckt was die datei sperrt und kann eine freigabe erzwingen. dann muesste das löschen funktioniern.
 
unter linux gibt es auch sicher so ein programm, nur leider ist mir keines bekannt! ich such mal unter google ob ich etwas finde und melde mich dann wieder.
 
Code:
lsof /paht/und/datei.name

ich glaube aber eher das der windowsserver zickt!
 
habe unter google leider nichts passendes gefunden, anscheinend ist unter linux kein so ein programm nötig!
 
Habe was mit Unlocker 1.5.8 gefunden ... aber auch der kann nicht helfen ...
Hier heisst es: Kein Lock-Handle gefunden ...

habe unter google leider nichts passendes gefunden, anscheinend ist unter linux kein so ein programm nötig!
.
.
.
EDIT (autom. Beitragszusammenführung) :
.

Bei dem hier genannten Befehl passiert nichts ...

Und das komische:
chmod 777 geht aber ...
BOOK:~ # rm /mnt/home/notebook/kontact/ziQk3DkU
rm: cannot remove `/mnt/home/notebook/kontact/ziQk3DkU': No such file or directory

Code:
lsof /paht/und/datei.name

ich glaube aber eher das der windowsserver zickt!
 
Zuletzt bearbeitet:
Du willst sicherlich lsof.

lsof -bV /Pfad/zu/deinem/*.zip
 
BOOK:~ # lsof -bV /mnt/home/notebook/kontact/*

Ergibt ...

lsof: avoiding readlink(/mnt/home/notebook/kontact/ziQk3DkU): -b was specified.
lsof: avoiding readlink(/): -b was specified.
lsof: avoiding stat(/): -b was specified.
lsof: WARNING: can't stat() rootfs file system /
Output information may be incomplete.
lsof: avoiding readlink(/dev): -b was specified.
lsof: avoiding stat(/dev): -b was specified.
lsof: WARNING: can't stat() tmpfs file system /dev
Output information may be incomplete.
lsof: avoiding readlink(/): -b was specified.
lsof: avoiding stat(/): -b was specified.
lsof: WARNING: can't stat() ext3 file system /
Output information may be incomplete.
lsof: avoiding readlink(/proc): -b was specified.
lsof: avoiding stat(/proc): -b was specified.
lsof: WARNING: can't stat() proc file system /proc
Output information may be incomplete.
lsof: avoiding readlink(/sys): -b was specified.
lsof: avoiding stat(/sys): -b was specified.
lsof: WARNING: can't stat() sysfs file system /sys
Output information may be incomplete.
lsof: avoiding readlink(/sys/kernel/debug): -b was specified.
lsof: avoiding stat(/sys/kernel/debug): -b was specified.
lsof: WARNING: can't stat() debugfs file system /sys/kernel/debug
Output information may be incomplete.
lsof: avoiding readlink(/dev/pts): -b was specified.
lsof: avoiding stat(/dev/pts): -b was specified.
lsof: WARNING: can't stat() devpts file system /dev/pts
Output information may be incomplete.
lsof: avoiding readlink(/home): -b was specified.
lsof: avoiding stat(/home): -b was specified.
lsof: WARNING: can't stat() ext3 file system /home
Output information may be incomplete.
lsof: avoiding readlink(/sys/kernel/security): -b was specified.
lsof: avoiding stat(/sys/kernel/security): -b was specified.
lsof: WARNING: can't stat() securityfs file system /sys/kernel/security
Output information may be incomplete.
lsof: avoiding readlink(/mnt/pdcd): -b was specified.
lsof: avoiding stat(/mnt/pdcd): -b was specified.
lsof: WARNING: can't stat() cifs file system /mnt/pdcd
Output information may be incomplete.
lsof: avoiding readlink(/mnt/home): -b was specified.
lsof: avoiding stat(/mnt/home): -b was specified.
lsof: WARNING: can't stat() cifs file system /mnt/home
Output information may be incomplete.
lsof: avoiding readlink(/mnt/groups): -b was specified.
lsof: avoiding stat(/mnt/groups): -b was specified.
lsof: WARNING: can't stat() cifs file system /mnt/groups
Output information may be incomplete.
lsof: avoiding readlink(/mnt/inst): -b was specified.
lsof: avoiding stat(/mnt/inst): -b was specified.
lsof: WARNING: can't stat() cifs file system /mnt/inst
Output information may be incomplete.
lsof: avoiding readlink(/mnt/easyarchiv): -b was specified.
lsof: avoiding stat(/mnt/easyarchiv): -b was specified.
lsof: WARNING: can't stat() cifs file system /mnt/easyarchiv
Output information may be incomplete.
lsof: avoiding readlink(/mnt/easyware): -b was specified.
lsof: avoiding stat(/mnt/easyware): -b was specified.
lsof: WARNING: can't stat() cifs file system /mnt/easyware
Output information may be incomplete.
lsof: avoiding readlink(/mnt/xampp): -b was specified.
lsof: avoiding stat(/mnt/xampp): -b was specified.
lsof: WARNING: can't stat() cifs file system /mnt/xampp
Output information may be incomplete.
lsof: avoiding stat(/mnt/home/notebook/kontact/ziQk3DkU): -b was specified.
lsof: status error on /mnt/home/notebook/kontact/ziQk3DkU: Resource temporarily unavailable
lsof 4.77
latest revision: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/
latest FAQ: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/FAQ
latest man page: ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/lsof_man
usage: [-?abhlnNoOPRstUvVX] [+|-c c] [+|-d s] [+D D] [+|-f]
[-F [f]] [-g ] [-i ] [+|-L [l]] [+m [m]] [+|-M] [-o [o]]
[-p s] [+|-r [t]] [-S [t]] [-T [t]] [-u s] [+|-w] [-x [fl]] [--] [names]
Use the ``-h'' option to get more help information.

Du willst sicherlich lsof.

lsof -bV /Pfad/zu/deinem/*.zip
 

Ähnliche Themen

Queue für copy Script

Überblick: Komprimierung und Dekomprimierung von tar/gz/bz2/zip

RedHat 4 (Lineox 4) in VMware mit BusLogic Treiber

Backupproblem mit tecback

Fehler beim compiliren vom Nvidia Treiber

Zurück
Oben