public inbox for overseers@sourceware.org
 help / color / mirror / Atom feed
From: Joseph Myers <joseph@codesourcery.com>
To: Gerald Pfeifer <gerald@pfeifer.com>
Cc: Jakub Jelinek <jakub@redhat.com>, <overseers@gcc.gnu.org>,
	Richard Guenther <richard.guenther@gmail.com>
Subject: Re: Updates of wwwdocs not working anymore
Date: Fri, 29 Nov 2019 17:11:00 -0000	[thread overview]
Message-ID: <alpine.DEB.2.21.1911291704101.21906@digraph.polyomino.org.uk> (raw)
In-Reply-To: <alpine.LSU.2.21.1911291738370.3792@anthias.pfeifer.com>

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

  reply	other threads:[~2019-11-29 17:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20191129150340.13533.qmail@sourceware.org>
     [not found] ` <20191129150345.CEE2933E0E@hamza.pair.com>
     [not found]   ` <20191129154410.GN10088@tucnak>
2019-11-29 16:38     ` Gerald Pfeifer
2019-11-29 17:11       ` Joseph Myers [this message]
2020-01-11 20:37         ` Gerald Pfeifer
2020-01-11 21:09           ` Joseph Myers
2020-01-19 15:07             ` Gerald Pfeifer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.DEB.2.21.1911291704101.21906@digraph.polyomino.org.uk \
    --to=joseph@codesourcery.com \
    --cc=gerald@pfeifer.com \
    --cc=jakub@redhat.com \
    --cc=overseers@gcc.gnu.org \
    --cc=richard.guenther@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).