aboutsummaryrefslogtreecommitdiffstats
path: root/packages/tftp/tftp.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/tftp/tftp.inc')
-rw-r--r--packages/tftp/tftp.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/tftp/tftp.inc b/packages/tftp/tftp.inc
index 531c3f29..32c11f8b 100644
--- a/packages/tftp/tftp.inc
+++ b/packages/tftp/tftp.inc
@@ -138,7 +138,8 @@ function php_install_command()
//extract a specific directory to /usr/local/freeswitch
if (file_exists('/tmp/'.$filename)) {
- system('cd /; tar xvpfz /tmp/tftp.bak.tgz');
+ system('cd /; tar xvpfz /tmp/tftp.bak.tgz');
+ system('chmod -R 744 /tftpboot/*');
unset($filename);
}