Re: SELinux and access across 'similar types'

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



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

SELinux has no idea what the labels are in /tmp, so restorecon will
not change the labels.  It would be best to just remove the content
from /tmp and allow new content to be created.  If you want the
content to be accessible from apache, you could change it to httpd_tmp_t

chcon -t httpd_tmp_t /tmp/PATH

I believe in treating /tmp as temporary and cleaning it out on reboot,
or running it as tmpfs.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8LGaYACgkQrlYvE4MpobPVQwCgxO5XHZkQhrgmLfbhcPIjQbcK
ISoAn183Fc+6RZCY4cPsW2nItMYDq14D
=AFEz
-----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