Changeset 6244

Show
Ignore:
Timestamp:
08/01/08 10:33:16 (4 months ago)
Author:
p_lindheimer
Message:

closes #2985 adds AMPVMUMASK to freepbx_engine to allow voicemail file permissions to be configured

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • freepbx/trunk/amp_conf/bin/freepbx_engine

    r6183 r6244  
    2929AMPASTERISKWEBUSER=$AMPASTERISKUSER 
    3030AMPASTERISKWEBGROUP=$AMPASTERISKGROUP 
     31AMPVMUMASK=077 
    3132 
    3233. /etc/amportal.conf 
     
    131132                        # su - asterisk -c "export PATH=$PATH:/usr/sbin && export LD_LIBRARY_PATH=/usr/local/lib && /usr/sbin/safe_asterisk" 
    132133                        export LD_LIBRARY_PATH=/usr/local/lib 
     134                        umask $AMPVMUMASK 
    133135                        /usr/sbin/safe_asterisk -U asterisk -G $AMPASTERISKGROUP 
    134136                        sleep 5 
  • freepbx/trunk/amportal.conf

    r6237 r6244  
    186186# CDRDBTYPE: mysql or postgres mysql is default 
    187187# CDRDBTABLENAME: Name of the table in the db where the cdr is stored cdr is default  
     188# AMPVMUMASK: defaults to 077 allowing only the asterisk user to have any permissions on VM files. If set to something 
     189#             like 007, it would allow the group to have permissions. This can be used if setting apache to a different 
     190#             user then asterisk, so that the apache user (and thus ARI) can have access to read/write/delete the 
     191#             voicemail files. If changed, some of the voicemail directory strucuters may have to be manually changed. 
     192 
Donate



Support
Download
Develop
Forums
News
Documentation
Paid Support
About

Paid Ads