[Tutor] subprocess.Popen basics

Adam Jensen hanzer at riseup.net
Tue Oct 28 21:34:08 CET 2014


On 10/28/2014 04:27 PM, Todd wrote:
> Centos has SELinux enabled by default.  I dont know if SELinux is
> causing your problem, but it is always worth looking at.
> 
> SELinux can keep a process from accessing files or executing another
> process. 
> 
> Try temporarily disabling  SELinux by running setenforce=0 as root. 
> Then see if python does what you expect.

Yep, that occurred to me too. Earlier today I set 'SELINUX=disabled' in
/etc/selinux/config and did a 'sudo touch /.autorelabel' then rebooted.
No Joy, same behavior from subprocess.Popen().





More information about the Tutor mailing list