--- src/webdav.c 2008-04-29 03:23:31.000000000 -0400 +++ src/webdav.c.oden 2008-05-22 06:45:27.000000000 -0400 @@ -1512,7 +1512,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, 0600); if (ctx->fd <= 0) { ne_set_error(session, _("%i can't open cache file"), 0); ctx->error = EIO;