From neteng, 8 Years ago, written in Plain Text.
- go back
Embed
Viewing differences between and perms
  1. setfacl --remove-all -R /usr/share/freeswitch
  2. setfacl --remove-all -R /var/log/freeswitch
  3. setfacl --remove-all -R /etc/freeswitch
  4. setfacl --remove-all -R /var/lib/freeswitch
  5.  
  6. #add users to the groups
  7. usermod -a -G freeswitch www-data
  8. usermod -a -G www-data freeswitch
  9.  
  10. #setup owner and group, permissions and sticky
  11. chown -R freeswitch:freeswitch /var/lib/freeswitch
  12. chmod -R 770 /var/lib/freeswitch
  13. chmod -R g+s /var/lib/freeswitch
  14.  
  15. chown -R freeswitch:freeswitch /usr/share/freeswitch
  16. chmod -R 770 /usr/share/freeswitch
  17. #chmod -R 770 /usr/share/freeswitch/scripts
  18. #chmod -R 770 /usr/share/freeswitch/lang
  19. chmod -R g+s /usr/share/freeswitch
  20.  
  21. chown -R freeswitch:freeswitch /etc/freeswitch
  22. chmod -R 770 /etc/freeswitch
  23. chmod -R g+s /etc/freeswitch
  24.  
  25. chown -R freeswitch:freeswitch /var/log/freeswitch
  26. chmod -R 770 /var/log/freeswitch
  27. chmod -R g+s /var/log/freeswitch
  28.