forked from norman/fusionpbx-install.sh-github-mirror
Update package-master.sh
Update the facl permissions.
This commit is contained in:
17
debian/resources/switch/package-master.sh
vendored
17
debian/resources/switch/package-master.sh
vendored
@@ -10,19 +10,24 @@ apt-get update && apt-get install -y --force-yes freeswitch-all freeswitch-all-d
|
||||
#set the file permissions
|
||||
chown -R freeswitch:freeswitch /var/lib/freeswitch
|
||||
chmod -R g+s /var/lib/freeswitch
|
||||
setfacl -d -R -m u:www-data:rwx,g:www-data:rwx /var/lib/freeswitch
|
||||
setfacl -R -m u:www-data:rwx,g:www-data:rwx /var/lib/freeswitch
|
||||
setfacl -R -m -d u:www-data:rwx,g:www-data:rwx /var/lib/freeswitch
|
||||
|
||||
chown -R freeswitch:freeswitch /usr/share/freeswitch
|
||||
chmod -R g+s /usr/share/freeswitch
|
||||
setfacl -d -R -m u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch
|
||||
setfacl -R -m u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch
|
||||
setfacl -R -m -d u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch
|
||||
|
||||
chown -R www-data:www-data /etc/freeswitch
|
||||
chown -R freeswitch:freeswitch /etc/freeswitch
|
||||
chmod -R g+s /etc/freeswitch
|
||||
setfacl -d -R -m u:www-data:rwx,g:www-data:rwx /etc/freeswitch
|
||||
setfacl -R -m u:www-data:rwx,g:www-data:rwx /etc/freeswitch
|
||||
setfacl -R -m -d u:www-data:rwx,g:www-data:rwx /etc/freeswitch
|
||||
|
||||
chown -R freeswitch:freeswitch /var/log/freeswitch
|
||||
setfacl -d -R -m u:www-data:rwx,g:www-data:rwx /var/log/freeswitch
|
||||
setfacl -R -m u:www-data:rwx,g:www-data:rwx /var/log/freeswitch
|
||||
setfacl -R -m -d u:www-data:rwx,g:www-data:rwx /var/log/freeswitch
|
||||
|
||||
chown -R freeswitch:freeswitch /usr/share/freeswitch/sounds
|
||||
chmod -R g+s /usr/share/freeswitch/sounds
|
||||
setfacl -d -R -m u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch/sounds
|
||||
setfacl -R -m u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch/sounds
|
||||
setfacl -R -m -d u:www-data:rwx,g:www-data:rwx /usr/share/freeswitch/sounds
|
||||
|
||||
Reference in New Issue
Block a user