On Mon, Sep 19, 2011 at 4:38 PM, Ken Dreyer <ktdre...@ktdreyer.com> wrote:
> On Mon, Sep 19, 2011 at 12:49 PM, Fulko Hew <fulko....@gmail.com> wrote:
>> %{_bindir}/chcon -t httpd_sys_script_exec_t
>> /var/www/html/nia/scripts/* 2>/dev/null
>> semanage fcontext -a -t httpd_sys_rw_content_t '/var/www/html/nia/tmp'
>> 2>/dev/null
>> restorecon -v '/var/www/html/nia/tmp' 2>/dev/null
>
> As an aside, it is a good idea to avoid placing packaged files into
> /var/www. You can check out the packaging guidelines at
> https://fedoraproject.org/wiki/Packaging:Guidelines#Web_Applications


First, my excuse is... this project is 12+ years old... long before that
standard/document was ever written,
Second, thanks for pointing it out. I'll consider changing it in a future rev.
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Reply via email to