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 - Ken -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel