• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Suexec upload php group change to wheel

AgusP

New Pleskian
Dear sir,
sorry for my bad english. after upgrade my plesk to version 9.3 i found problem on file group owner upload via web. On php apache module file owner change to www:wheel, and on php fastcgi file owner become to be ftpuser:wheel.

i have ready cek on httpd.conf and all httpd.include vhost nothing wrong with config

plesk930# grep ^Group /usr/local/etc/apache2/httpd.conf
Group www
plesk930# grep ^User /usr/local/etc/apache2/httpd.conf
User www

httpd.include
SuexecUserGroup ftpuser psacln

plesk930# ps awux | grep httpd
www 51693 4.1 3.3 97128 67760 ?? SJ 1:32AM 0:08.21 /usr/local/sbin/httpd
www 51704 3.5 3.4 99980 70588 ?? SJ 1:32AM 0:04.61 /usr/local/sbin/httpd
www 51977 1.9 3.1 93516 63944 ?? SJ 1:36AM 0:00.32 /usr/local/sbin/httpd
www 51862 0.9 3.3 96916 67520 ?? SJ 1:34AM 0:05.32 /usr/local/sbin/httpd
www 51791 0.4 3.1 93764 64224 ?? SJ 1:33AM 0:01.24 /usr/local/sbin/httpd
www 51982 0.1 3.1 93756 63992 ?? SJ 1:36AM 0:00.14 /usr/local/sbin/httpd
root 19131 0.0 3.1 93300 63712 ?? SsJ 1:09AM 0:08.03 /usr/local/sbin/httpd
www 19586 0.0 3.0 91592 61880 ?? SJ 1:09AM 0:00.09 /usr/local/sbin/httpd
www 51691 0.0 3.1 93536 63960 ?? SJ 1:32AM 0:01.23 /usr/local/sbin/httpd
www 51702 0.0 3.3 96912 67524 ?? SJ 1:32AM 0:16.47 /usr/local/sbin/httpd
www 51703 0.0 3.1 93644 64260 ?? SJ 1:32AM 0:04.27 /usr/local/sbin/httpd
www 51816 0.0 3.1 93800 64384 ?? SJ 1:33AM 0:07.74 /usr/local/sbin/httpd
www 51849 0.0 3.1 93800 64188 ?? SJ 1:34AM 0:01.12 /usr/local/sbin/httpd
www 51860 0.0 3.6 103788 74404 ?? SJ 1:34AM 0:06.43 /usr/local/sbin/httpd
www 51861 0.0 3.3 96896 67504 ?? SJ 1:34AM 0:10.74 /usr/local/sbin/httpd
www 51978 0.0 3.1 93368 63768 ?? SJ 1:36AM 0:00.02 /usr/local/sbin/httpd
www 51979 0.0 3.1 93368 63768 ?? SJ 1:36AM 0:00.02 /usr/local/sbin/httpd
www 51980 0.0 3.1 93368 63768 ?? SJ 1:36AM 0:00.02 /usr/local/sbin/httpd
www 51981 0.0 3.1 93380 63776 ?? SJ 1:36AM 0:00.02 /usr/local/sbin/httpd
www 51990 0.0 3.1 93380 63772 ?? SJ 1:36AM 0:00.01 /usr/local/sbin/httpd

plesk930# id www
uid=80(www) gid=80(www) groups=80(www),2522(psaserv)

plesk930# md5 /usr/local/psa/bin/psa-suexec
MD5 (/usr/local/psa/bin/psa-suexec) = 06f8458f1ddbb02dd7c28b932d66dd55
plesk930# md5 /usr/local/sbin/suexec
MD5 (/usr/local/sbin/suexec) = 06f8458f1ddbb02dd7c28b932d66dd55

how to fix file owner back to www:psacln or ftpuser:psacln on upload via web.

My system
FreeBSD 6.2-STABLE + Plesk 9.3.0

Thanks.
 
Back
Top