selinux and per-user web directories

Arthur Pemberton pemboa at gmail.com
Mon Apr 20 22:55:29 UTC 2009


On Mon, Apr 20, 2009 at 5:40 PM, anonymous <bitskrieg at gmail.com> wrote:
> It seems that problem stems from using compressed  files downloaded from the
> internet.
>
> I can create any number of directories and files I want, and they will all
> be labeled as such:
> unconfined_u:object_r:httpd_sys_content_t:s
> which I'm allowed to serve.
> However, when I uncompress a gzipped file into the web directory, it doesn't
> work.
> I have no idea why because it has the same label as the others:
> unconfined_u:object_r:httpd_sys_content_t:s
>
>> You really want to use semanage or the next relabel will undo your changes
>
> I'm not sure what you mean by relabel. Is that done automatically?

No, if you're using paths other than the apache default, you have to
use the system-config-selinux tool to tell Selinux about it.
>
>> Have you checked the apache logs?
>
> There aren't any errors in the logs.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>



-- 
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )




More information about the fedora-list mailing list