From owner-freebsd-questions@freebsd.org Sun Aug 29 20:15:33 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CEC8666779A for ; Sun, 29 Aug 2021 20:15:33 +0000 (UTC) (envelope-from doug@safeport.com) Received: from freeport.safeport.com (freeport.safeport.com [147.160.157.114]) by mx1.freebsd.org (Postfix) with ESMTP id 4GyPpF22pxz3ms5 for ; Sun, 29 Aug 2021 20:15:33 +0000 (UTC) (envelope-from doug@safeport.com) Received: from bucksport.safeport.com (bucksport.safeport.com [198.74.231.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by freeport.safeport.com (Postfix) with ESMTPS id 86A07EB828; Sun, 29 Aug 2021 16:08:36 -0400 (EDT) Date: Sun, 29 Aug 2021 16:08:44 -0400 (EDT) From: Doug Denault To: freebsd-questions@FreeBSD.ORG cc: Christopher Denault Subject: wp allocates a file grouped to wheel Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Rspamd-Queue-Id: 4GyPpF22pxz3ms5 X-Spamd-Bar: ++++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=fail (mx1.freebsd.org: domain of doug@safeport.com does not designate 147.160.157.114 as permitted sender) smtp.mailfrom=doug@safeport.com X-Spamd-Result: default: False [6.46 / 15.00]; ARC_NA(0.00)[]; R_SPF_FAIL(1.00)[-all:c]; GREYLIST(0.00)[pass,body]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[safeport.com]; NEURAL_SPAM_MEDIUM(0.96)[0.965]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; VIOLATED_DIRECT_SPF(3.50)[]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_SPAM_LONG(1.00)[1.000]; NEURAL_HAM_SHORT(-0.00)[-0.001]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6405, ipnet:147.160.157.0/24, country:US]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-questions] X-Spam: Yes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2021 20:15:33 -0000 I am running FreeBSD 11.4, php7.4 and apache2.4. Images uploaded using core wordpress functions are grouped to wheel. This only happens with images, other files are as they should (IMO) be. Apache is running grouped to www, the php-fpm master runs grouped to wheel, the fpm user processes run with the uid:gid of the user. I take this to mean that wordpress/php/fpm spawns a process running at least gid-ed as wheel as the process must be a member of the wheel group to create files grouped to wheel. Is this correct? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277