The Zip Function on my server only works when the Public_html Folder is set to 777 This is dangerous i know the Public_html folder should be set to 750 or 755.But once i put it to 750 i get the 404 Not Found error and also .Once i set it to 755 The script on my server doesnt read the Zip_extension ive talked to the coder or my script and he has said its not his code but its the permissons. Here are the Ownership of the Public_html folder
ls -ald /home
ls -ald /home/admin
ls -ald /home/admin/public_html
ls -ald /home/admin/public_html/config.php
Can anyone tell me please what to do as im stuck
ls -ald /home
drwx--x--x. 5 root root 4096 Aug 29 07:21 /home
ls -ald /home/admin
drwx--x--x 7 admin admin 4096 Sep 3 21:56 /home/admin
ls -ald /home/admin/public_html
lrwxrwxrwx 1 admin admin 37 Aug 29 08:06 /home/admin/public_html -> ./domains/domain.com/public_html
ls -ald /home/admin/public_html/config.php
-rwxr-xr-x 1 admin admin 1707 Sep 3 02:49 /home/admin/public_html/config.php
Can anyone tell me please what to do as im stuck