<HTML>
<HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="OPENWEBMAIL" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff>
<font size="2"><b>---------- Original Message 
-----------</b>
<br />
From: Richard Barker <admin@probass.com> 

<br />
To: BlueOnyx General Mailing List <blueonyx@mail.blueonyx.it> 

<br />
Sent: Sun, 14 May 2017 10:22:07 -0400 

<br />
Subject: [BlueOnyx:21034] Command for chmod for All php files 

<br />

<br />> Command for chmod for All php files I have tried chmod 644 
-R
      *.php but did not work.
<br />> 

      I got a worpdress site for another hosting company like 
host
      monster and all files are set at 777
<br />> 

      trying to set to 
644
    
<br />> RC
<br />> 
<br /></font>
<br />Try this RC.
<br />
<br />Change to the top directory you want to change everything below.  And run
<br />for file in `find . -name *.php`; do chmod 644 $file; done
<br />
<br />That should search for any files ending in .php from that directory downward, and change their permissions to 644.
<br />
<br />
<br />Chuck
<br />
<br />
<br />

</BODY>
</HTML>