Pank: July 2019 Archives

Systemd 為了安全性因素, 預設 PrivateTmp=true
即每個 Service 都有自己的 /tmp,
真實位置是存在於像這樣的路徑 /tmp/systemd-private-291a89c46ea14fa282e95374a841ec4e-httpd.service-eYQNRI/tmp

例: 將 Apache 停用 PrivateTmp
sed -i s/PrivateTmp=true/PrivateTmp=false/ /lib/systemd/system/httpd.service
systemctl daemon-reload
systemctl restart httpd

About this Archive

This page is an archive of recent entries written by Pank in July 2019.

Pank: June 2019 is the previous archive.

Pank: August 2019 is the next archive.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives