OpenAFS Master Repository branch, openafs-devel-1_7_x, updated. openafs-devel-1_7_29-21-g6060987

Gerrit Code Review
Thu, 17 Apr 2014 05:50:21 -0700 (PDT)

The following commit has been merged in the openafs-devel-1_7_x branch:
commit 606098746c7d6a3bf6c9151ef12edfef579ddca4
Author: Jeffrey Altman <>
Date:   Fri Apr 4 16:42:36 2014 -0400

    Windows: Deny writes/truncation to files w RO attr
    If the readonly file attribute is set on a file, refuse to process
    writes, truncations or overwrites.   The afsd_service will do so
    and this can lead to data corruption.
    At the same time, writes from the redirector to afsd_service must
    not be denied because of the readonly attribute.  That check was
    performed during the CreateFile.   Otherwise, a new file can be
    created with the readonly attribute and then not be writable.
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>
    (cherry picked from commit dd8d2aa871fc5841c281d1292c39ffb8edf1ebd1)
    Change-Id: I6c941c9a8323a9b699135005ef901d5f56f5288d
    Tested-by: BuildBot <>
    Reviewed-by: Jeffrey Altman <>

 src/WINNT/afsrdr/kernel/lib/AFSCreate.cpp |   12 ++++++++++++
 src/WINNT/afsrdr/kernel/lib/AFSWrite.cpp  |    2 +-
 src/WINNT/afsrdr/user/RDRFunction.c       |   11 +++++++++--
 3 files changed, 22 insertions(+), 3 deletions(-)

OpenAFS Master Repository