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

Chris Gebhardt - VIRTBIZ Internet cobaltfacts at virtbiz.com
Tue May 16 10:29:50 -05 2017


IMPORTANT NOTE BELOW:

On 5/16/2017 10:25 AM, Chris Gebhardt - VIRTBIZ Internet wrote:
> I've found it quickest and easiest to just go through and recursively
> set all files to 644 and directories to 755, which is the recommendation
> from WordPress.  Do that with these 2 commands:
>
> find . -type d -exec chmod 0755 {} \;
> find . -type f -exec chmod 0644 {} \;

Those commands run from within the web directory of the WordPress 
installation.

That should be self-evident, but I wanted to clarify so that nobody goes 
and runs that from / or something stupid.

-- 
Chris Gebhardt
VIRTBIZ Internet Services
Access, Web Hosting, Colocation, Dedicated
www.virtbiz.com | toll-free (866) 4 VIRTBIZ



More information about the Blueonyx mailing list