Changes

Jump to navigation Jump to search
882 bytes added ,  10:32, 23 August 2016
m
Added /tmp dir issue/resolution
Line 253: Line 253:     
and everything will get fine !
 
and everything will get fine !
 +
 +
====SME9: /tmp owned by Asterisk:asterisk====
 +
When FreePBX is started, one of the processes is setting permissions on all Asterisk files. We want to exclude the /tmp directory being owned by the asterisk user/group and prevent setting tight permissions which actually leads to a 'broken' system, due to the importance of the /tmp directory for many other (non Asterisk) related processes and applications such as Mysql.
 +
 +
The default settings for the /tmp directory is root:root and 4177 that can be applied (or recovered):
 +
chown -R root:root /tmp
 +
chmod 4177 /tmp/*
 +
 +
To exclude the /tmp directory from being altered we need to create the '/etc/asterisk/freepbx_chown.conf''' additional config file manually and enter the following content:
 +
[blacklist]
 +
directory = /tmp/
 +
Now you can stopt/start the freepbx service and the /tmp directory will still have the proper settings.
 +
 +
 +
    
====SME9: warnings at boot ====
 
====SME9: warnings at boot ====

Navigation menu