From: Jeff Trawick Date: Thu, 23 May 2002 14:56:11 +0000 (+0000) Subject: Fix a file permissions problem which prevented mod_disk_cache X-Git-Tag: 2.0.37~288 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abc2f3fa9739c8c59012290fa181ad46acb8f93b;p=apache Fix a file permissions problem which prevented mod_disk_cache from working on Unix. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95246 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/CHANGES b/CHANGES index 62e1aedae4..c08540f1bd 100644 --- a/CHANGES +++ b/CHANGES @@ -1,5 +1,8 @@ Changes with Apache 2.0.37 + *) Fix a file permissions problem which prevented mod_disk_cache + from working on Unix. [Jeff Trawick] + *) Add "-k start|startssl|restart|graceful|stop" support to httpd for the Unix MPMs. These have semantics very similar to the old apachectl commands of the same name. diff --git a/modules/experimental/mod_disk_cache.c b/modules/experimental/mod_disk_cache.c index 650978a8e2..bd4a4f855a 100644 --- a/modules/experimental/mod_disk_cache.c +++ b/modules/experimental/mod_disk_cache.c @@ -548,7 +548,7 @@ static apr_status_t write_headers(cache_handle_t *h, request_rec *r, cache_info rv = apr_file_open(&dobj->hfd, dobj->hdrsfile, APR_WRITE | APR_CREATE | APR_EXCL, - 0, r->pool); + APR_OS_DEFAULT, r->pool); if (rv != APR_SUCCESS) { return rv; }