By now, I have these permissions in the web server:
1. agc directory
- Code: Select all
# ls -al agc
total 992
drwxrwxrwx 3 root root 4096 2008-03-27 21:35 .
drwxr-xr-x 16 root root 4096 2008-05-27 12:16 ..
-rwxrwxrwx 1 root root 16169 2007-05-28 11:29 active_list_refresh.php
-rwxrwxrwx 1 root root 115707 2007-05-28 11:29 astguiclient.php
-rwxrwxrwx 1 root root 6685 2007-05-28 11:29 call_log_display.php
-rwxrwxrwx 1 root root 9479 2007-05-28 11:29 conf_exten_check.php
-rwxrwxrwx 1 root root 1620 2008-03-14 18:30 dbconnect.php
drwxrwxrwx 2 root root 12288 2008-03-11 13:03 images
-rwxrwxrwx 1 root root 14103 2007-05-28 11:29 inbound_popup.php
-rwxrwxrwx 1 root root 9115 2007-05-28 11:29 live_exten_check.php
-rwxrwxrwx 1 root root 44618 2007-05-28 11:29 manager_send.php
-rwxrwxrwx 1 root root 4425 2007-05-28 11:29 park_calls_display.php
lrwxrwxrwx 1 root root 9 2008-03-27 21:24 project_auth_entries.txt -> /dev/null
-rwxrwxrwx 1 root root 91204 2007-05-28 11:29 vdc_db_query.php
lrwxrwxrwx 1 root root 9 2008-03-27 21:35 vicidial_auth_entries.txt -> /dev/null
-rwxrwxrwx 1 root root 11472 2008-05-13 22:02 vicidial_debug.txt
-rwxrwxrwx 1 root root 268192 2008-05-27 12:08 vicidial.php
-rwxrwxrwx 1 root root 268092 2007-05-28 13:36 vicidial.php.backup
-rwxrwxrwx 1 root root 4156 2007-05-28 11:29 voicemail_check.php
2. astguiclient directory
- Code: Select all
# ls -al astguiclient/
total 20
drwxrwxrwx 2 root root 4096 2008-03-11 13:05 .
drwxr-xr-x 16 root root 4096 2008-05-27 12:16 ..
3. vicidial directory
- Code: Select all
# ls -al vicidial/
total 4276
drwxrwxrwx 4 root root 4096 2008-03-27 21:27 .
drwxr-xr-x 16 root root 4096 2008-05-27 12:16 ..
lrwxrwxrwx 1 root root 9 2008-03-27 21:27 admin_changes_log.txt -> /dev/null
-rwxrwxrwx 1 root root 25143 2007-05-28 11:29 admin_modify_lead.php
-rwxrwxrwx 1 root root 521512 2007-05-28 11:29 admin.php
-rwxrwxrwx 1 root root 7851 2007-05-28 11:29 admin_search_lead.php
drwxrwxrwx 2 root root 4096 2008-03-11 12:52 agent_reports
-rwxrwxrwx 1 root root 3566 2007-05-28 11:29 AST_admin_log_display.php
-rwxrwxrwx 1 root root 11204 2007-05-28 11:29 AST_agent_disposition.php
-rwxrwxrwx 1 root root 19928 2007-05-28 11:29 AST_agent_performance_detail.php
-rwxrwxrwx 1 root root 9731 2007-05-28 11:29 AST_agent_performance.php
-rwxrwxrwx 1 root root 11894 2007-05-28 11:29 AST_agent_time_sheet_archive.php
-rwxrwxrwx 1 root root 11862 2007-05-28 11:29 AST_agent_time_sheet.php
-rwxrwxrwx 1 root root 16850 2007-05-28 11:29 AST_CLOSERstats.php
-rwxrwxrwx 1 root root 5594 2007-05-28 11:29 AST_inboundEXTstats_department.php
-rwxrwxrwx 1 root root 14704 2007-05-28 11:29 AST_inboundEXTstats.php
-rwxrwxrwx 1 root root 13875 2007-05-28 11:29 AST_parkstats.php
-rwxrwxrwx 1 root root 11597 2007-05-28 11:29 AST_server_performance.php
-rwxrwxrwx 1 root root 8516 2007-05-28 11:29 AST_timeonpark.php
-rwxrwxrwx 1 root root 33275 2007-05-28 11:29 AST_timeonVDADall.php
-rwxrwxrwx 1 root root 39587 2007-05-28 11:29 AST_timeonVDADallREC.php
-rwxrwxrwx 1 root root 15345 2007-05-28 11:29 AST_timeonVDADallSUMMARY.php
-rwxrwxrwx 1 root root 14424 2007-05-28 11:29 AST_timeonVDAD.php
-rwxrwxrwx 1 root root 20520 2007-05-28 11:29 AST_VDADstats.php
-rwxrwxrwx 1 root root 5351 2007-05-28 11:29 AST_VICIDIAL_hopperlist.php
-rwxrwxrwx 1 root root 15271 2007-05-28 11:29 closer_dispo.php
-rwxrwxrwx 1 root root 17621 2007-05-28 11:29 closer-fronter_popup2.php
-rwxrwxrwx 1 root root 20688 2007-05-28 11:29 closer-fronter_popup.php
-rwxrwxrwx 1 root root 13023 2007-05-28 11:29 closer.php
-rwxrwxrwx 1 root root 17146 2007-05-28 11:29 closer_popup.php
-rwxrwxrwx 1 root root 8 2007-05-28 11:29 count.htm
-rwxrwxrwx 1 root root 1614 2008-03-14 18:31 dbconnect.php
-rwxrwxrwx 1 root root 8646 2007-05-28 11:29 group_hourly_stats.php
-rwxrwxrwx 1 root root 492 2007-05-28 11:29 help.gif
-rwxrwxrwx 1 root root 2406 2007-05-28 11:29 listloaderMAIN.php
-rwxrwxrwx 1 root root 31605 2007-05-28 11:29 listloader.php
-rwxrwxrwx 1 root root 27945 2007-05-28 11:29 listloader.pl
-rwxrwxrwx 1 root root 4565 2007-05-28 11:29 listloader_rowdisplay.pl
-rwxrwxrwx 1 root root 1656087 2008-05-28 17:29 listloader_stmts.txt
-rwxrwxrwx 1 root root 28168 2007-05-28 11:29 listloader_super.pl
-rwxrwxrwx 1 root root 605 2007-05-28 11:29 log_test.php
-rwxrwxrwx 1 root root 67549 2007-05-28 11:29 new_listloader_superL.php
-rwxrwxrwx 1 root root 9836 2007-05-28 11:29 phone_stats.php
drwxrwxrwx 2 root root 12288 2008-03-25 16:06 ploticus
lrwxrwxrwx 1 root root 9 2008-03-27 21:22 project_auth_entries.txt -> /dev/null
-rwxrwxrwx 1 root root 5539 2007-05-28 11:29 record_conf_1_hour.php
-rwxrwxrwx 1 root root 14938 2007-05-28 11:29 remote_dispo.php
-rwxrwxrwx 1 root root 13373 2007-05-28 11:29 user_stats.php
-rwxrwxrwx 1 root root 6969 2007-05-28 11:29 user_status.php
-rwxrwxrwx 1 root root 22872 2007-05-28 11:29 vdremote.php
-rwxrwxrwx 1 root root 1169077 2008-05-28 17:29 vicidial_temp_file.txt
-rwxrwxrwx 1 root root 11438 2007-05-28 11:29 voice_lab.php
-rwxrwxrwx 1 root root 12708 2007-05-28 11:29 vtiger_search.php
-rwxrwxrwx 1 root root 1074 2007-05-28 11:29 welcome.php
As you can see, everybody has access to theses directories; and that means security issues.
How can I restrict more the access to these directories, taking care of the vicidial_temp_file.txt file to load leads without troubles?
thanks