Update package-release.sh
Additional work on file permissions.
This commit is contained in:
parent
ac19b2047a
commit
2a3f57a7a4
|
|
@ -9,19 +9,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
|
||||
|
|
|
|||
Loading…
Reference in New Issue