From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92293 invoked by alias); 11 Jan 2020 20:37:39 -0000 Mailing-List: contact overseers-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: , Sender: overseers-owner@sourceware.org Received: (qmail 92284 invoked by uid 89); 11 Jan 2020 20:37:38 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: hamza.pair.com Received: from hamza.pair.com (HELO hamza.pair.com) (209.68.5.143) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 11 Jan 2020 20:37:37 +0000 Received: from hamza.pair.com (localhost [127.0.0.1]) by hamza.pair.com (Postfix) with ESMTP id CD19533E1A; Sat, 11 Jan 2020 15:37:35 -0500 (EST) Received: from anthias (simmu1-65-185.utaonline.at [62.218.65.185]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by hamza.pair.com (Postfix) with ESMTPSA id 0FCCF33E12; Sat, 11 Jan 2020 15:37:34 -0500 (EST) Date: Sat, 11 Jan 2020 20:37:00 -0000 From: Gerald Pfeifer To: Joseph Myers cc: Jakub Jelinek , overseers@gcc.gnu.org, Richard Guenther Subject: Re: Updates of wwwdocs not working anymore In-Reply-To: Message-ID: References: <20191129150340.13533.qmail@sourceware.org> <20191129150345.CEE2933E0E@hamza.pair.com> <20191129154410.GN10088@tucnak> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-IsSubscribed: yes X-SW-Source: 2020-q1/txt/msg00010.txt On Fri, 29 Nov 2019, Joseph Myers wrote: >> Has something been changed recently, or is this simply an issue with >> the move of wwwdocs to git that we did not run into before? > The post-receive hook explicitly sets permissions with chmod when creating > directories in htdocs, for the *output* of preprocessing. > > /www/gcc/wwwdocs-checkout/.git/config has "sharedrepository = 1". That's > meant to ensure files and directories are group-writable in the checkout > itself (into which htdocs-preformatted is a symlink). Maybe that only > works in the .git part of the checkout rather than the whole checkout, in > which case the post-receive hook (itself checked into the git repository, > in bin/) would need at least to set the umask before doing git pull? I'll admit this is a bit over my head. We just ran into this again, though, so would you mind having a look? To be clear, /www/gcc/htdocs-preformatted (the raw checkout from git) features -rw-r--r-- for most files which seems to be fine, though, and does not cause problems. It's the pre-processed web tree under /www/gcc/htdocs where this hits. Maybe setting a more permissive umask before invoking /www/gcc/bin/preprocess is the best approach? Gerald