PHP Warning: opendir(../): failed to open dir: Permission denied in /chroot/home/betaicsi/beta.ics-il.com/html/search/results.php on line 110, referer: http://beta.ics-il.com/search.php?s=Intelligent
[root@ip22 html]# ls -al /home/betaicsi/beta.ics-il.com/html/total 756
drwxr-s--x 8 betaicsi betaicsi 4096 Nov 26 19:04 .
drwx--s--x 4 betaicsi betaicsi 4096 Jan 18 2015 ..
-rw-r--r-- 1 betaicsi betaicsi 7161 Nov 26 20:24 404.html
-rw-r--r-- 1 betaicsi betaicsi 8672 Nov 26 17:46 about.html
drwxr-sr-x 2 betaicsi betaicsi 4096 Jan 18 2015 bat
-rw-r--r-- 1 betaicsi betaicsi 13063 Nov 22 21:06 business.html
drwxr-xr-x 2 betaicsi betaicsi 4096 Jan 18 2015 cgi-bin
-rw-r--r-- 1 betaicsi betaicsi 8874 Nov 26 18:09 contact.html
-rw-r--r-- 1 betaicsi betaicsi 8457 Nov 22 21:06 coverage.html
-rw-r--r-- 1 betaicsi betaicsi 5634 Jan 18 2015 Coverage.html
drwxr-sr-x 3 betaicsi betaicsi 4096 Nov 26 19:42 css
-rw-r--r-- 1 betaicsi betaicsi 7196 Nov 22 21:06 existing-clients.html
-rw-r--r-- 1 betaicsi betaicsi 2126 Nov 22 21:06 fullscreenmap.html
-rw-r--r-- 1 betaicsi betaicsi 121859 Nov 22 21:03 ICS_coverage.kmz
drwxr-sr-x 3 betaicsi betaicsi 4096 Nov 22 20:46 img
-rwxr-xr-x 1 betaicsi betaicsi 12996 Nov 26 17:57 index.html
drwxr-sr-x 3 betaicsi betaicsi 4096 Nov 26 19:42 js
-rw-r--r-- 1 betaicsi betaicsi 13616 Nov 22 19:29 policies.html
-rw-r--r-- 1 betaicsi betaicsi 11817 Nov 22 21:06 residential.html
-rw-r--r-- 1 betaicsi betaicsi 10938 Nov 22 09:27 residential.html.old
-rwxr-xr-x 1 betaicsi betaicsi 816 Jan 18 2015 robots.txt
drwxr-sr-x 2 betaicsi betaicsi 4096 Nov 26 19:50 search
-rw-r--r-- 1 betaicsi betaicsi 966 Nov 26 19:04 search.css
-rw-r--r-- 1 betaicsi betaicsi 6570 Nov 26 20:23 search.php
-rw-r--r-- 1 betaicsi betaicsi 8321 Nov 22 21:06 services.html
-rw-r--r-- 1 betaicsi betaicsi 449806 Jan 18 2015 WM_CustomerPortal.swf
Sorry I meant to say also, the failed permission is on the research folder/results so compare the 2 folders for permission and group/user ID, match them and I believe it should then work
Sorry I meant to say also, the failed permission is on the research folder/results so compare the 2 folders for permission and group/user ID, match them and I believe it should then work
Many thanks
John[/QUOTE]
This is the PHP file that’s doing the work. It’s not comparing two folders, but searching the folders for a given text.
Sorry, I know your script was not comparing 2 folders.
Your document root is public_html, but you could use your HTML folder, so not sure why your grep httproot
I meant for you to compare your doc root folder to your research folder for user ID/group and on your results php file, ensure it has write access, as I think that is where the results are stored
The people that I bought the template from recommended I set my html folder to 755 and that fixed it. Is that safe to do? I figured it was set where it was for a reason.