diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py index afd808f5e..5e9f9550d 100644 --- a/src/allmydata/webish.py +++ b/src/allmydata/webish.py @@ -334,7 +334,7 @@ class Directory(rend.Page): def render_overwrite(self, ctx, data): name, target = data - if IMutableFileNode.providedBy(target): + if IMutableFileNode.providedBy(target) and not target.is_readonly(): overwrite = T.form(action=".", method="post", enctype="multipart/form-data")[ T.fieldset[