Originally Posted by johnty01
even more baffling:
-rwxr-xr-x 1 johnty root 121320431 Oct 2 12:01 file1.zip
-rwxr-xr-x 1 johnty root 115726863 Oct 16 15:55 file2.zip
file1 shows up, file 2 doesn't. any further suggestions?
*edit* i'm starting to think that the file is cursed... i made a copy of it, and it works... i still have NO idea why it didn't before.
I am having the same exact problem with apache.
What I found is that by creating a file at the /var/www/html/ directory (vi /home/www/html/xxx.html) and then moving this file to my root directory, which is /home/httpd/ the file can be allowed.
But if instead I try: vi /home/httpd/xxx2.html this file will be forbidden when accessing via apache.
Anyone has solved this puzzle?
For your information the permissions are:
[root@s2 httpd]# ls -l xxx*
-rw-r--r-- 1 root root 5 Sep 20 18:40 xxx2.html
-rw-r--r-- 1 root root 5 Sep 20 18:35 xxx.html
The first file can be viewed and the second not.