aboutsummaryrefslogtreecommitdiffstats
path: root/executor
diff options
context:
space:
mode:
Diffstat (limited to 'executor')
-rw-r--r--executor/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/executor/common.h b/executor/common.h
index e0cfba5ad..92a4d5133 100644
--- a/executor/common.h
+++ b/executor/common.h
@@ -253,7 +253,7 @@ static void reset_flags(const char* filename)
struct stat st;
if (lstat(filename, &st))
exitf("lstat(%s) failed", filename);
- st.st_flags &= ~(SF_NOUNLINK | UF_NOUNLINK | SF_IMMUTABLE | UF_IMMUTABLE);
+ st.st_flags &= ~(SF_NOUNLINK | UF_NOUNLINK | SF_IMMUTABLE | UF_IMMUTABLE | SF_APPEND | UF_APPEND);
if (lchflags(filename, st.st_flags))
exitf("lchflags(%s) failed", filename);
}