wp allocates a file grouped to wheel

Doug Denault doug at safeport.com
Sun Aug 29 21:01:35 UTC 2021


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 at safeport.com
Voice: 301-217-9220
   Fax: 301-217-9277


More information about the freebsd-questions mailing list