Make patch SELinux compatible

Vadym Chepkov vchepkov at gmail.com
Thu May 20 11:15:44 UTC 2010


Hi,

Is there a way to make patch in Redhat SELinux compatible?

# ls -Z php.php 
-rw-r--r--  root root user_u:object_r:httpd_sys_content_t:s0 php.php

# patch -p1 < /root/php.patch
patching file php.php

# ls -Z php.php 
-rw-r--r--  root root user_u:object_r:tmp_t:s0         php.php

Thanks,
Vadym Chepkov




More information about the selinux mailing list