[BlueOnyx:21035] Re: Command for chmod for All php files

Christoph Schneeberger cschnee at box.telemedia.ch
Sun May 14 09:50:22 -05 2017


On 05/14/2017 04:22 PM, Richard Barker wrote:
>
> Command for chmod for All php files I have tried chmod 644 -R *.php 
> but did not work.
> I got a worpdress site for another hosting company like host monster 
> and all files are set at 777
> trying to set to 644
>
> RC
>
>

/find /path/to/site/ -name "*.php" -exec chmod 644 \{} \;/

should do what you want. Try first without the -exec part to see if you 
come up with the files that you want to chmod.

HTH
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20170514/fc2c89c0/attachment.html>


More information about the Blueonyx mailing list