Re: selinux versus chcon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Sep 19, 2011 at 4:38 PM, Ken Dreyer <ktdreyer@xxxxxxxxxxxx> wrote:
> On Mon, Sep 19, 2011 at 12:49 PM, Fulko Hew <fulko.hew@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux