Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5e5be54e0041e648ad68c61906124a6814b754c4
Ticket: 219139ffffffffffffffffffffffffffffffffff
file delete -force does not work on read-only directories
User & Date: dkf on 2001-09-03 16:31:45
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Following on from Vince's comment, things become even more
    sticky when the 'cwd' of another process is inside the
    directory.  At that point, you're basically stuck.  (I have
    no idea if there are networked filesystems that support that
    style of directory locking, but if there are you have the
    situation where a blocking process might not even be on the
    same computer.  But even without that finesse, the point
    still holds since you can't change the directory of other
    processes underneath their feet...)
    
    Anyway, hell-or-high-water isn't possible.  Best effort
    (probably up to about the level of 'rm -rf' I'd guess) is.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"