Custom TMPDIR
To change the default temporary directory /tmp for ESET Server Security for Linux:
1.Create a custom directory /efs-tmp with read and write permission for eset-efs-daemons. Execute the following commands from a Terminal window as a privileged user:
sudo mkdir /efs-tmp sudo chmod g+rw /efs-tmp sudo chgrp eset-efs-daemons /efs-tmp/ |
The result should look like this:
ls -l / drwxrwxr-x. 1 root eset-efs-daemons 0 Jan 15 15:56 efs-tmp |
2.Set environment variable to the configuration file:
sudo echo TMPDIR=/efs-tmp >> /opt/eset/efs/etc/systemd/environment |
3.Restart the product:
sudo systemctl restart efs |