1--- a/src/web_client.c.orig 2016-04-17 11:34:20.044455323 +0200
2+++ b/src/web_client.c 2016-04-17 11:34:47.432897957 +0200
3@@ -291,14 +291,14 @@
4 buffer_sprintf(w->response.data, "File '%s' does not exist, or is not accessible.", filename);
5 return 404;
6 }
7-
8+#if 0
9 // check if the file is owned by us
10 if(stat.st_uid != web_files_uid()) {
11 error("%llu: File '%s' is owned by user %d (I run as user %d). Access Denied.", w->id, webfilename, stat.st_uid, getuid());
12 buffer_sprintf(w->response.data, "Access to file '%s' is not permitted.", filename);
13 return 403;
14 }
15-
16+#endif
17 if((stat.st_mode & S_IFMT) == S_IFDIR) {
18 snprintf(webfilename, FILENAME_MAX+1, "%s/index.html", filename);
19 return mysendfile(w, webfilename);