Update package-release.sh
Set the owner as freeswitch and group as freeswitch
This commit is contained in:
parent
82ecab168b
commit
b33006b47d
|
|
@ -7,21 +7,21 @@ apt-get update && apt-get install -y --force-yes freeswitch-all freeswitch-all-d
|
|||
#rm /etc/apt/sources.list.d/freeswitch.list
|
||||
|
||||
#set the file permissions
|
||||
#chown -R freeswitch:freeswitch /var/lib/freeswitch
|
||||
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
|
||||
|
||||
#chown -R freeswitch:freeswitch /usr/share/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
|
||||
|
||||
#chown -R freeswitch:freeswitch /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
|
||||
|
||||
#chown -R freeswitch:freeswitch /etc/freeswitch
|
||||
chown -R freeswitch:freeswitch /var/log/freeswitch
|
||||
setfacl -d -R -m u:www-data:rwx,g:www-data:rwx /var/log/freeswitch
|
||||
|
||||
#chown -R freeswitch:freeswitch /usr/share/freeswitch/sounds
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue