Date: Fri, 18 Oct 2019 13:40:43 +0100 From: Jonathan Gilpin <jonathan@fluent.ltd.uk> To: "apache@freebsd.org" <apache@FreeBSD.org> Subject: Re: FreeBSD Port: www/apache24 Message-ID: <9EFA087D-1DB3-4041-A5B4-9F37D90290E1@fluent.ltd.uk> In-Reply-To: <00BA340A-F575-4B2F-ADB3-FBE5A1AA3F11@fluent.ltd.uk> References: <00BA340A-F575-4B2F-ADB3-FBE5A1AA3F11@fluent.ltd.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
Sorry I forgot to include this: # suexec -V -D AP_DOC_ROOT=3D"/home" -D AP_GID_MIN=3D1000 -D AP_HTTPD_USER=3D"www" -D AP_LOG_EXEC=3D"/var/log/httpd-suexec.log" -D AP_SAFE_PATH=3D"/usr/local/bin:/usr/bin:/bin" -D AP_UID_MIN=3D1000 -D AP_USERDIR_SUFFIX=3D"public_html" # httpd -V Server version: Apache/2.4.41 (FreeBSD) Server built: unknown Server's Module Magic Number: 20120211:88 Server loaded: APR 1.7.0, APR-UTIL 1.6.1 Compiled using: APR 1.7.0, APR-UTIL 1.6.1 Architecture: 64-bit Server MPM: prefork threaded: no forked: yes (variable process count) Server compiled with.... -D APR_HAS_SENDFILE -D APR_HAS_MMAP -D APR_HAVE_IPV6 (IPv4-mapped addresses disabled) -D APR_USE_FLOCK_SERIALIZE -D APR_USE_PTHREAD_SERIALIZE -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT -D APR_HAS_OTHER_CHILD -D AP_HAVE_RELIABLE_PIPED_LOGS -D DYNAMIC_MODULE_LIMIT=3D256 -D HTTPD_ROOT=3D"/usr/local" -D SUEXEC_BIN=3D"/usr/local/sbin/suexec" -D DEFAULT_PIDLOG=3D"/var/run/httpd.pid" -D DEFAULT_SCOREBOARD=3D"/var/run/apache_runtime_status" -D DEFAULT_ERRORLOG=3D"/var/log/httpd-error.log" -D AP_TYPES_CONFIG_FILE=3D"etc/apache24/mime.types" -D SERVER_CONFIG_FILE=3D"etc/apache24/httpd.conf" > On 18 Oct 2019, at 13:38, Jonathan Gilpin <jonathan@fluent.ltd.uk> = wrote: >=20 > Dear Sir, >=20 > I have am using the FreeBSD Apache 2.4 with Suexec Port to run PHP. >=20 > I have discovered that files uploaded in PHP using basic code are = ending up owned by the group =E2=80=98wheel=E2=80=99 rather than the = group specified in=20 >=20 > SuexecUserGroup "#3008" "#3010" >=20 > E.g. I end up with:=20 >=20 > -rw-r--r-- 1 marsecreview wheel 209166 Oct 18 13:12 = Screenshot 2019-10-17 at 18.02.49.png >=20 > # id marsecreview > uid=3D3008(marsecreview) gid=3D3010(marsecreview) = groups=3D3010(marsecreview) >=20 > This is a standard installation so Apache runs as www on FreeBSD: >=20 > id www > uid=3D80(www) gid=3D80(www) groups=3D80(www) >=20 > So I really do not understand where the =E2=80=98wheel=E2=80=99 group = is coming into this.. >=20 > entry from /etc/group is: >=20 > wheel:*:0:root,jonathan >=20 >=20 > Is this a bug?=20 >=20 > Kind Regards, >=20 > Jonathan Gilpin >=20 >=20 >=20 >=20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9EFA087D-1DB3-4041-A5B4-9F37D90290E1>