forked from norman/fusionpbx-install.sh-github-mirror
Initial permission changes
added use of getopt to allow command line options to indicate to use different sources added +x
This commit is contained in:
8
debian/resources/switch/source-permissions.sh
vendored
Executable file
8
debian/resources/switch/source-permissions.sh
vendored
Executable file
@@ -0,0 +1,8 @@
|
||||
#add users to the groups
|
||||
usermod -a -G freeswitch www-data
|
||||
usermod -a -G www-data freeswitch
|
||||
|
||||
#setup owner and group, permissions and sticky
|
||||
chown -R freeswitch:freeswitch /usr/local/freeswitch
|
||||
chmod -R ug+rw /usr/local/freeswitch
|
||||
find /usr/local/freeswitch -type d -exec chmod 2770 {} \;
|
||||
Reference in New Issue
Block a user