Pete Houston wrote:

> No, I was meaning the SELinux context. If SELinux is preventing access
> the details will be in the audit log. If you have just created this tree
> within your home directory, it probably won't have the context Apache
> expects and you might either need to change the contexts or set some
> SELinux booleans to allow them.

Upon advice I switched off selinux by setenforce 0, and restarted
apache. Still, the following happens:

this two directory have the same rights, owner and group:

drwxr-xr-x 5 apache gergoe     4096 Feb 18 10:48 kolozsvar
drwxr-xr-x 5 apache gergoe     4096 Jul 17  2012 wp

but pointing the browser to localhost gives one of them, wp, but not the other:

[DIR]   k/      08-Jan-2012 18:01       -       
[TXT]   l2.txt  16-Feb-2013 10:37       47K     
[TXT]   list.txt        18-Jul-2012 17:25       47K     
[DIR]   wordpress/      08-Jan-2012 18:01       -       
[DIR]   wp/     08-Jan-2012 18:01       -       

What command would show the difference between the two dirs, after
selinux was switched off?

The apache error log says

[Mon Feb 18 10:58:51 2013] [error] [client ::1] (13)Permission denied:
access to /kolozsvar/ denied
[Mon Feb 18 10:59:10 2013] [error] [client ::1] (13)Permission denied:
access to /kolozsvar/wpdewd denied

Which shows that kolozsvar has some problem as wpdewd does not exist.

- Gergely

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to