Tcl Source Code

View Ticket
Login
Ticket UUID: 3006571
Title: error deleting: file already exists on Vista
Type: Bug Version: None
Submitter: pherricoxide Created on: 2010-05-24 18:27:04
Subsystem: 37. File System Assigned To: vincentdarley
Priority: 5 Medium Severity:
Status: Open Last Modified: 2013-01-17 18:54:11
Resolution: None Closed By:
    Closed on:
Description:
On 2 Windows Vista machines I've tried running file delete -force will sometimes return the error, "error deleting filename: file already exists". This doesn't really make any sense, since of course the file exists or I wouldn't be deleting it. Attached is a script to show the problem and result files from two Vista machines. This is using TCL ActiveState ActiveTcl 8.5.8.0.291595 threaded.
User Comments: gahr added on 2013-01-17 18:54:11:
I'm also seeing this on 8.6.0 threaded, on a cifs-mounted filesystem. Workaround here is to retry after several msec.

dunkfan added on 2010-09-03 16:56:44:
Also seen sporadically on Win7 64bit dual core machine. Tcl 8.5.5 threaded.

pherricoxide added on 2010-05-25 01:28:15:
Result of script,

Deleted C:/vvv
Deleted C:/vvv
error deleting "C:/vvv": file already exists
error deleting "C:/vvv\foo": permission denied
error deleting "C:/vvv\foo": permission denied
Deleted C:/vvv
Deleted C:/vvv
error deleting "C:/vvv": file already exists
Deleted C:/vvv
error deleting "C:/vvv": file already exists
Deleted C:/vvv
Deleted C:/vvv
Deleted C:/vvv

pherricoxide added on 2010-05-25 01:27:05:

File Added - 375021: filedel.tcl

Attachments: