diff -up davfs2-1.3.3/src/webdav.c.open-creat-3-args davfs2-1.3.3/src/webdav.c
--- davfs2-1.3.3/src/webdav.c.open-creat-3-args 2009-03-02 22:03:26.000000000 -0500
+++ davfs2-1.3.3/src/webdav.c 2009-03-02 22:09:19.000000000 -0500
@@ -1513,7 +1513,7 @@ static int block_writer(void *userdata,
get_context *ctx = (get_context *) userdata;
if (ctx->fd == 0)
- ctx->fd = open(ctx->file, O_WRONLY | O_CREAT | O_TRUNC);
+ ctx->fd = open(ctx->file, O_WRONLY | O_CREAT | O_TRUNC, 0644);
if (ctx->fd <= 0) {
ne_set_error(session, _("%i can't open cache file"), 0);
ctx->error = EIO;