Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4e50dcff97d0a0d7c926bf53fd7fe3781eb51fac
Ticket: 626360ffffffffffffffffffffffffffffffffff
TIP118: expand [file attributes] on BSD & Darwin
User & Date: das on 2002-10-21 14:53:00
Changes

  1. assignee changed to: "das"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The attached patch adds suport for [file attributes -
    readonly] (i.e. the user immutable flag) on any unix system 
    supporting chflags(), this includes BSD >= 4.4 and Darwin/
    MacOSX (where this is the flag corresponding to the file 
    locked state in HFS+).
    
    On systems supporting getattrlist(), i.e. currently only pure 
    Darwin & Mac OSX, the patch adds support for the 
    MacOS9 style [file attributes -creator -type -hidden] via 
    POSIX level APIs that don't require linking with Carbon.
    
    Tested the patch on the SF compilefarm on
    [Alpha] Linux 2.4 (Debian 3.0), where none of the APIs 
    are available and no ill effects ensue
    [x86] FreeBSD (4.7-RC), where chflags() is available and 
    [file attributes -readonly] can successfully be interrogated, 
    (but not set due to permission issues at sourceforge)
    as well as on both MacOSX 10.1.5 and 10.2 where the 
    complete functionality is available.
    
    docs will need changing if this is accepted for checkin, 
    that's not in the patch yet.
    
    It'd be great if this could make it into 8.4.1
    
  4. foundin changed to: "None"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "das"
  9. subsystem changed to: "37. File System"
  10. title changed to: "expand [file attributes] on BSD & Darwin"
  11. type changed to: "Patch"