Overview
| Artifact ID: | 4e50dcff97d0a0d7c926bf53fd7fe3781eb51fac |
|---|---|
| Ticket: | 626360ffffffffffffffffffffffffffffffffff
TIP118: expand [file attributes] on BSD & Darwin |
| User & Date: | das on 2002-10-21 14:53:00 |
Changes
- assignee changed to: "das"
- cmimetype changed to: "text/plain"
- 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
- foundin changed to: "None"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "das"
- subsystem changed to: "37. File System"
- title changed to: "expand [file attributes] on BSD & Darwin"
- type changed to: "Patch"