@[email protected]M to Comic [email protected] • 1 month agoLinux processeslemmy.worldimagemessage-square67fedilinkarrow-up1569arrow-down119
arrow-up1550arrow-down1imageLinux processeslemmy.world@[email protected]M to Comic [email protected] • 1 month agomessage-square67fedilink
minus-square@[email protected]linkfedilink9•1 month agoWhatever, we have a suspect. Bring in GDB to do the interrogation! And perhaps also call Nice, he can play the good cop…
minus-square@[email protected]linkfedilinkEnglish6•1 month agoForgive me my ignorance, but since Apache is running as root, couldn’t PHP inherit it’s permissions?
minus-square@[email protected]OPMlinkfedilink5•1 month agoThe Apache main process runs as root. When it receives a request, it spawns a child process that doesn’t run as root. PHP runs as the same user as the Apache child process.
minus-square@[email protected]linkfedilink4•1 month agoOr PHP runs in its own fastcgi like process under a different account.
Whatever, we have a suspect.
Bring in GDB to do the interrogation! And perhaps also call Nice, he can play the good cop…
Forgive me my ignorance, but since Apache is running as root, couldn’t PHP inherit it’s permissions?
The Apache main process runs as root. When it receives a request, it spawns a child process that doesn’t run as root. PHP runs as the same user as the Apache child process.
Or PHP runs in its own fastcgi like process under a different account.