FreeBSD Port: www/apache24
jonathan at fluent.ltd.uk
Fri Oct 18 12:40:46 UTC 2019
Sorry I forgot to include this:
# suexec -V
# 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
Server MPM: prefork
forked: yes (variable process count)
Server compiled with....
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
> On 18 Oct 2019, at 13:38, Jonathan Gilpin <jonathan at fluent.ltd.uk> wrote:
> Dear Sir,
> I have am using the FreeBSD Apache 2.4 with Suexec Port to run PHP.
> I have discovered that files uploaded in PHP using basic code are ending up owned by the group ‘wheel’ rather than the group specified in
> SuexecUserGroup "#3008" "#3010"
> E.g. I end up with:
> -rw-r--r-- 1 marsecreview wheel 209166 Oct 18 13:12 Screenshot 2019-10-17 at 18.02.49.png
> # id marsecreview
> uid=3008(marsecreview) gid=3010(marsecreview) groups=3010(marsecreview)
> This is a standard installation so Apache runs as www on FreeBSD:
> id www
> uid=80(www) gid=80(www) groups=80(www)
> So I really do not understand where the ‘wheel’ group is coming into this..
> entry from /etc/group is:
> Is this a bug?
> Kind Regards,
> Jonathan Gilpin
More information about the freebsd-apache