[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Allowing a apache to access a user folder by using semanage
- From: Josef Meile <jmeile hotmail com>
- To: Stephen Smalley <sds tycho nsa gov>
- Cc: fedora-selinux-list redhat com
- Subject: Re: Allowing a apache to access a user folder by using semanage
- Date: Wed, 09 May 2007 22:50:46 +0200
Hi Stephen
> httpd_t is a domain for a process, not a type for a file. You shouldn't
> be trying to label a file with it.
>
Ok, then is httpd_sys_content_t the right one? I solve it as follows:
semanage fcontext -a -t httpd_t "/home/zopeuser/data(/.*)?"
chcon -R -t httpd_sys_content_t /home/zopeuser/data
It works now, but is it the correct way?
Regards
Josef
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]