forked from norman/fusionpbx-install.sh-github-mirror
Update package-permissions.sh
Adding setfacl in for now.
This commit is contained in:
16
debian/resources/switch/package-permissions.sh
vendored
16
debian/resources/switch/package-permissions.sh
vendored
@@ -20,3 +20,19 @@ chmod -R g+s /etc/freeswitch
|
|||||||
chown -R freeswitch:freeswitch /var/log/freeswitch
|
chown -R freeswitch:freeswitch /var/log/freeswitch
|
||||||
chmod -R 760 /var/log/freeswitch
|
chmod -R 760 /var/log/freeswitch
|
||||||
chmod -R g+s /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
|
||||||
|
|||||||
Reference in New Issue
Block a user