You don't say what distribution you are running, or whether SELinux is enabled. On my (RedHat) systems, the /var directory is owned by root, and the permissions are set to 755, and the command
gives this output for var
drwxr-xr-x root root system_u:object_r:var_t:s0
(I think this is more or less standard.) Is there anything in the log files either for the system (/var/log/messages
) or for the web server (/var/log/httpd/????