[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: selinux and per-user web directories



On Mon, Apr 20, 2009 at 16:22:18 -0500,
  anonymous <bitskrieg gmail com> wrote:
> I then used the command:
> # chcon -R -h -t httpd_sys_content_t  my_web_dir

You really want to use semanage or the next relabel will undo your changes.

> However, I've run into a strange problem.
> 
> http://localhost/~user/ OKAY
> http://localhost/~user/newdirX OKAY
> http://localhost/~user/newdirX/newdirY NOT OKAY
> 
> The newdirY is hidden.
> Is there some directory depth restriction used by apache?
> I don't think this is an SELinux problem because no warning is issued, I
> might be wrong.

Did you check the context of newdirY?


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]