Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 669 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 669 Bytes

privatetmp_fix

How to fix Apache's PrivateTmp=True override everytime httpd updates. If you are running Lasso 8.6 on CentOS 7 or higher, this is neccessary to make [file_uploads] work properly.

One line command, just run this as root (if you trust me):

curl -s https://raw.githubusercontent.com/marcpope/privatetmp_fix/main/fix.sh | /bin/bash

Here's what it does:

Create file:

nano /etc/systemd/system/httpd.service.d/override.conf

With this text:

[Service]
PrivateTmp=false

Reload apache daemon and apache:

systemctl daemon-reload
systemctl restart httpd

Now, if Apache updates, it won’t override the PrivateTmp=False setting