Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: da5161678cab17bd0e06c168ccf87ee7118bc4a0
Ticket: 930225ffffffffffffffffffffffffffffffffff
access() - safe to use?
User & Date: dkf on 2004-04-07 04:37:47
Changes

  1. icomment:
    Logged In: YES 
    user_id=79902
    
    Neither [cd] nor [load] are affected on native filesystems.
     OTOH, [file executable] etc are, but that's because they're
    just a wrapper round access()'s basic functionality.
    
    In general, if you can it is better to just [open] (with the
    right options; with the wrong ones you still have a security
    hole) or [exec] the file and check for errors in the process.
    
    
  2. login: "dkf"
  3. mimetype: "text/plain"
  4. username: "dkf"