Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 67041 invoked from network); 14 Sep 2007 17:15:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 14 Sep 2007 17:15:25 -0000 Received: (qmail 99710 invoked by uid 500); 14 Sep 2007 17:15:09 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 99230 invoked by uid 500); 14 Sep 2007 17:15:08 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 99219 invoked by uid 99); 14 Sep 2007 17:15:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 10:15:08 -0700 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of Dan_Mitton@notes.ymp.gov designates 198.147.246.95 as permitted sender) Received: from [198.147.246.95] (HELO smtp1.ymp.gov) (198.147.246.95) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2007 17:16:46 +0000 Received: from ymln11.ymp.gov ([192.12.95.129]:4694) by smtp1.ymp.gov with esmtps (SSLv3:RC4-MD5:128) (Exim 4.60) (envelope-from ) id 1IWEkb-0005k6-Ld for users@httpd.apache.org; Fri, 14 Sep 2007 10:14:41 -0700 Received: from YDLN1.ymp.gov ([192.12.95.52]) by YMLN11.YMP.GOV (Lotus Domino Release 6.5.4FP1) with ESMTP id 2007091410144123-109572 ; Fri, 14 Sep 2007 10:14:41 -0700 In-Reply-To: <636935.51098.qm@web31508.mail.mud.yahoo.com> MIME-Version: 1.0 Sensitivity: To: users@httpd.apache.org Message-ID: From: Dan_Mitton@Notes.YMP.GOV Date: Fri, 14 Sep 2007 10:14:39 -0700 Content-Type: text/plain; charset="US-ASCII" X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Permissions dilemma in the /var/log/httpd directory Remember, that this would effect every file create by apache or any children (like cronlog). If there are CGI script that create files, these will be effected too. By putting an ACL on the log directory, you kind of limit the "scope" of the change. My ACL on our log directory looks like: # file: apache2 # owner: root # group: apache user::rwx group::rwx #effective:rwx mask:rwx other:r-x default:user::rwx default:group::r-x default:mask:r-x default:other:--- Dan Please respond to users@httpd.apache.org To: users@httpd.apache.org cc: (bcc: Dan Mitton/YD/RWDOE) Subject: Re: [users@httpd] Permissions dilemma in the /var/log/httpd directory LSN: Not Relevant User Filed as: Not a Record I think that worked! Just by adding umask 022 in apachectl startup script and restarting apache. Thanks Mukarram Syed wrote: I'll try that. Thanks. Dan_Mitton@Notes.YMP.GOV wrote: Have you tried setting the umask in your apache startup script? I'm running on Sun Solaris and I've used ACL's to get the permissions I want. Dan Please respond to users@httpd.apache.org To: users@httpd.apache.org cc: (bcc: Dan Mitton/YD/RWDOE) Subject: [users@httpd] Permissions dilemma in the /var/log/httpd directory LSN: Not Relevant User Filed as: Not a Record Hi, Here is my dilemma and I'd appreciate some help. Apache has been configured and is running fine. But other users need read permissions to the /var/log/httpd directory. Before I implemented cronolog (www.cronolog.org), I forced a permissions change to 755 in the startup script for the /var/log/httpd directory. After I implemented cronolog this does not work, since cronolog automatically changes permissions to 400. Is there a way to force permissions to 644 at least in the httpd.conf file and keep it that way even after cronolog rotates logs. I could implement chmod -R 755 /var/log/httpd via cron at midnight, but this is a crude way of doing thing. I hope there is a better, elegant way, via Apache. I again appreciate any inputs to this. thanks # mukarram syed Mukarram Syed muksyed@yahoo.com Fussy? Opinionated? Impossible to please? Perfect. Join Yahoo!'s user panel and lay it on us. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org Mukarram Syed muksyed@yahoo.com Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase. Mukarram Syed muksyed@yahoo.com Need a vacation? Get great deals to amazing places on Yahoo! Travel. --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org