From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 37989 invoked by alias); 29 Nov 2019 17:11:21 -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 37980 invoked by uid 89); 29 Nov 2019 17:11:21 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: esa1.mentor.iphmx.com Received: from esa1.mentor.iphmx.com (HELO esa1.mentor.iphmx.com) (68.232.129.153) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 29 Nov 2019 17:11:20 +0000 IronPort-SDR: 6WUCx0NtnufC5ouK/k020z+UAz4KZqEB/aEOYCgmPkJz/TvZt/FNhzJxTYQ+UtyipobZ/lrxue xsJEhqXuTpt0avrzU37LIB5tbEgyrpwRFrm4E0cA+VETK0SSfjh7Zl0mPhJdb8lwGjnAnv/0j/ 4DT+HNvilKig+vfCHOHs29RiRODiV7t6JbxNbJe7M7upmLMpJlsBT16WENkjJIPJI6UfGlNIaZ 6IMCrmo6/+E5V/J73c5l2KKBFzp+LbtYAG0QGKT+hE7OorI9Vck5jIrF6tEEkbKQ1Vhyyo9RzC d2Y= Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 29 Nov 2019 09:11:18 -0800 IronPort-SDR: HfHiO4DgT78veqIh4N521Sj5+pnV18UOoxH6Ip0+BLosvUKGS92WF6tANSQfLEj3F4eXOA+dsS eT5i9YIy6Cbu8NEZxaj0sfuhaKgGdekvHT/C8Xurp4Cdjjm10VkxbFFw57Rd5UjC+P7gXWqHRw Nv/8DCtvHhxre6k3jXIKL8xuqwLnAX0NatGk9zgZfIvu7MKPdhfTm10chj75hEtnrQn8fqDd/W m+325zSHkETfCp3YygPM3i13VmjSGtYTkpHs6FAqNdp1N5vIl8STjWEd0YaPLIG4kGOMuzibKA gEo= Date: Fri, 29 Nov 2019 17:11:00 -0000 From: Joseph Myers To: Gerald Pfeifer CC: Jakub Jelinek , , 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> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Return-Path: joseph@codesourcery.com X-SW-Source: 2019-q4/txt/msg00052.txt.bz2 On Fri, 29 Nov 2019, Gerald Pfeifer 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? -- Joseph S. Myers joseph@codesourcery.com