Update package-permissions.sh

Adding setfacl in for now.
This commit is contained in:
FusionPBX 2016-05-24 05:28:40 -06:00
parent 16c07760fd
commit b6eeed2089
1 changed files with 16 additions and 0 deletions

View File

@ -20,3 +20,19 @@ chmod -R g+s /etc/freeswitch
chown -R freeswitch:freeswitch /var/log/freeswitch
chmod -R 760 /var/log/freeswitch
chmod -R g+s /var/log/freeswitch
#file access control lists
setfacl -R -m u:www-data:rwx,g:www-data:rwx /var/lib/freeswitch
setfacl -R -d -m u:www-data:rwx,g:www-data:rwx /var/lib/freeswitch
setfacl -R -m u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch
setfacl -R -d -m u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch
setfacl -R -m u:www-data:rwx,g:www-data:rwx /etc/freeswitch
setfacl -R -d -m u:www-data:rwx,g:www-data:rwx /etc/freeswitch
setfacl -R -m u:www-data:rwx,g:www-data:rwx /var/log/freeswitch
setfacl -R -d -m u:www-data:rwx,g:www-data:rwx /var/log/freeswitch
setfacl -R -m u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch/sounds
setfacl -R -d -m u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch/sounds