selinux and per-user web directories

Bruno Wolff III bruno at wolff.to
Mon Apr 20 21:55:57 UTC 2009


On Mon, Apr 20, 2009 at 16:22:18 -0500,
  anonymous <bitskrieg at 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?




More information about the fedora-list mailing list