Github messages for voidlinux
 help / color / mirror / Atom feed
From: LeamHall <LeamHall@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: Package php-fpm tries to use user and group http
Date: Fri, 11 Jun 2021 15:42:06 +0200
Message-ID: <20210611134206.fnZIjyCiFpujYLhpt2oNpkYWhGtbYx4YUtyybwvGkzs@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-31422@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 977 bytes --]

New comment by LeamHall on void-packages repository

https://github.com/void-linux/void-packages/issues/31422#issuecomment-859591003

Comment:
I am not a web person nor have I ever built my own Linux distro. My ideas are just ideas, I'm not sure if they are any good.

What permissions does php-fpm need? Does it need write access to the web directories? Does it need the UID/GID of whatever is serving httpd?

Changing Apache at this point would be a bit of work, and established servers might have an issue. I'm not sure how many sites are using the php-fpm package, but it might be fewer than are using Apache or Nginx. 

If php-fpm just needs read access to the web files, then it could just test for read file/execute directory access on the installed package's ServerRoot. The php-fpm package could then use whatever UID/GID it wanted, and create. If it must use an httpd server's UID/GID, then it may need to search for whatever is installed, and default to http.

  parent reply	other threads:[~2021-06-11 13:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  2:36 [ISSUE] " LeamHall
2021-06-11  5:16 ` ericonr
2021-06-11 13:42 ` LeamHall [this message]
2021-06-17 17:58 ` the-eater
2021-06-17 19:00 ` LeamHall

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=20210611134206.fnZIjyCiFpujYLhpt2oNpkYWhGtbYx4YUtyybwvGkzs@z \
    --to=leamhall@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /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

Github messages for voidlinux

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/voidlinux-github

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 voidlinux-github voidlinux-github/ http://inbox.vuxu.org/voidlinux-github \
		voidlinux-github@inbox.vuxu.org
	public-inbox-index voidlinux-github

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git