Re: django not picking up template change on CentOS

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



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.


-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:ByrneJB@xxxxxxxxxxxxx
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux