Re: django not picking up template change on CentOS

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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 09/13/2012 08:38 AM, Larry Martell wrote:
> On Wed, Sep 12, 2012 at 2:19 PM, James B. Byrne <byrnejb@xxxxxxxxxxxxx>
> 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. 
> _______________________________________________ CentOS mailing list 
> CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos
> 
restorecon on a disabled system will just exit.  You could put down labels
with setfiles, but since the machine is disabled why bother.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBSAkgACgkQrlYvE4MpobN5CQCguxluzEAd4+spcmnjJNaCA3NJ
EWoAn2DMTbOxQ2aA/lacGfaLOklA3EmI
=CZuz
-----END PGP SIGNATURE-----
_______________________________________________
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