Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Aug 2021 17:01:42 -0400 (EDT)
From:      Doug Denault <doug@safeport.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: wp allocates a file grouped to wheel
Message-ID:  <alpine.BSF.2.00.2108291700030.99187@bucksport.safeport.com>
In-Reply-To: <alpine.BSF.2.00.2108291554510.99184@bucksport.safeport.com>
References:  <alpine.BSF.2.00.2108291554510.99184@bucksport.safeport.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 29 Aug 2021, Doug Denault wrote:

> 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?

Boo on me. creating a file in /tmp/ is owned as uid:wheel.

_____
Douglas Denault
http://www.safeport.com
doug@safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.2108291700030.99187>