Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 8213 invoked by uid 6000); 21 Mar 1998 14:50:10 -0000 Received: (qmail 8175 invoked by uid 2001); 21 Mar 1998 14:50:01 -0000 Received: (qmail 8046 invoked by uid 2012); 21 Mar 1998 14:46:23 -0000 Message-Id: <19980321144623.8045.qmail@hyperreal.org> Date: 21 Mar 1998 14:46:23 -0000 From: david ford Reply-To: david@kalifornia.com To: apbugs@hyperreal.org X-Send-Pr-Version: 3.2 Subject: general/1974: unable to create/update ScriptLog if the dir/file path is not owned by apache Sender: apache-bugdb-owner@apache.org Precedence: bulk >Number: 1974 >Category: general >Synopsis: unable to create/update ScriptLog if the dir/file path is not owned by apache >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: open >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Sat Mar 21 06:50:00 PST 1998 >Last-Modified: >Originator: david@kalifornia.com >Organization: apache >Release: 1.3.b5 >Environment: linux 2.0, pgcc. >Description: 'tis very simple. this is the only log file i'm aware of that encounters this condition. i have root owned dirs for apache. i just realised why the ScriptLog directive never worked on my machine. apache runs as user 'httpd'. i needed to make logs/ and logs/ owned by user 'httpd' not too critical of a situation, more a matter of inconsistency as all other log files appear to be created/updated as root. >How-To-Repeat: n/r >Fix: setuid(0) when creating/writing this logfile....i won't make a patch as this is probably a one+one liner or close to it :). -d %0 >Audit-Trail: >Unformatted: [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ]