[CentOS] django not picking up template change on CentOS

Larry Martell larry.martell at gmail.com
Thu Sep 13 12:38:40 UTC 2012

On Wed, Sep 12, 2012 at 2:19 PM, James B. Byrne <byrnejb at harte-lyne.ca> wrote:
> On Wed, September 12, 2012 11:52, Larry Martell wrote:
>  I've been trying to set the SELinux
>> security context on that dir, just so it's like the others, but I
>> haven't been able to figure out how to do that - I don't know what to
>> pass to chcon.
> Well, if SELinux is disabled or set to permissive then the file
> contexts should not make any difference.  However, to reset the
> contexts to their defaults without resorting /.autorelabel one can do
> this:
> # permanent fix
> restorecon -Rv /path/to/start
> You might have to add the -F flag as well.  I am not sure when this
> becomes necessary but on occasion I have had to resort to it when
> dealing with httpd selinux issues.

Thanks for the reply, but this had no effect, neither on the security
context of the dir, nor on my django issue.

More information about the CentOS mailing list