Allowing a apache to access a user folder by using semanage

Jan-Frode Myklebust janfrode at tanso.net
Wed May 9 14:04:33 UTC 2007


On 2007-05-09, Josef Meile <jmeile at hotmail.com> wrote:
> I'm trying to allow apache to read a user folder as follows:
>
> % semanage fcontext -a -t httpd_t "/home/zopeuser/data(/.*)?"

semanage doesn't update the labels of existing files. So you'll
need to run "restorecon -R /home/zopeuser/data" before this
will work.


  -jf




More information about the fedora-selinux-list mailing list