Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Oct 2019 13:38:19 +0100
From:      Jonathan Gilpin <jonathan@fluent.ltd.uk>
To:        "apache@freebsd.org" <apache@FreeBSD.org>
Subject:   FreeBSD Port: www/apache24
Message-ID:  <00BA340A-F575-4B2F-ADB3-FBE5A1AA3F11@fluent.ltd.uk>

index | next in thread | raw e-mail

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:

wheel:*:0:root,jonathan


Is this a bug? 

Kind Regards,

Jonathan Gilpin






help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00BA340A-F575-4B2F-ADB3-FBE5A1AA3F11>