Hukot.net WIKI
EN CS
Sign in
  • Tutorials
  • Support
CtrlK

Searching…

Wiki / Linux Basics

Číst česky →

WordPress - bulk fix of file and directory rights - shell

1 min read Petr Pomajbík Linux Basics VPS WebHosting WordPress

Bulk file rights fix for WordPress, from a shell in the required directory:

# recursively finds directories and changes permissions for them

find ./ -type d -exec chmod 755 {} \;

# recursively finds files and changes permissions for them

find ./ -type f -exec chmod 644 {} \;
Was this tutorial helpful? Yes No Helped 24 people

You might also like

Recursively changing permissions on directories or files If you want to change permissions for directories or files in Linux, BSD, or MAC OS in bulk and recursively, below you will find a simple guide on how to do it. Mass change of file permissions in Linux, BSD and MAC Performing a bulk change of permissions, owner, and group for files and directories in Linux is not a problem. If you only need to apply this to files within a specific directory and its… Debug mode and troubleshooting in CMS WordPress In this tutorial, we'll show you basic debugging of CMS WordPress and common mistakes.
Hukot.net

Knowledge base

  • All tutorials
  • Suggest a tutorial
  • Support
  • Transfer to Hukot

Hosting

  • Webhosting
  • Wordpress hosting
  • Multihosting
  • Wordpress multisite

Virtual servers

  • Linux VPS
  • Windows VPS
  • GPU VPS
  • Dedicated servers

Storage

  • Object storage

Domains

  • Domain registration
  • Domain prices

© Design & Code by Hukot.cz | © 2026 SecurityNet.cz s.r.o.

All Rights Reserved | Všechna práva vyhrazena

Login

Sign in with your Hukot ID to do this.

Sign in with Hukot ID