Offer

Pay yearly and get 2 months free + an extra 30% off your hosting

Claim offer
HostingWeb HostingLiteSpeed and NVMe on FlyPanelfrom ৳100BDIX HostingPeered inside Bangladeshfrom ৳100WordPress HostingTuned for WooCommercefrom ৳1,000
Built in-houseFlyPanel, malware protection, backupsCustom-tailored, included on every plan→
2 months free on yearlyCompare products
ServersVPS HostingKVM with full root accessfrom $20BDIX VPSPeered inside Bangladeshfrom $20Dedicated ServersAMD Ryzen and dual Xeonfrom $250
1 Gbps port, Tier-3 datacentersCustom build
ResourcesKnowledgebaseSetup guides and troubleshootingBlogProduct news and performance tipsAbout Doze HostWho we are and where servers liveNetwork statusLive uptime for every service↗
Register a domainSearch and register a new nameClient areaBilling, services and invoices↗
Talk to an engineer, 24/701795 470074
Talk to us, 24/7Call an engineerReal people, day and night01795 470074Email supportsupport@dozehost.com↗Open a ticket27 min average first response↗
Help yourselfKnowledgebaseSetup guides and troubleshootingBlogProduct news and performance tipsNetwork statusLive uptime for every serviceLive
Client area: billing, services, invoicesLog in
Hosting Web Hosting ৳100/moLiteSpeed, FlyPanel, daily backups BDIX Hosting ৳100/moPeered inside Bangladesh WordPress Hosting ৳1,000/moTuned for WooCommerce
Servers VPS Hosting $20/moKVM with full root BDIX VPS $20/moPeered inside Bangladesh Dedicated Servers $250/moAMD Ryzen and dual Xeon
Domains
Resources Knowledgebase Blog About Doze Host Network status
Help Call 01795 470074Real engineers, 24/7 Email supportsupport@dozehost.com Open a ticket27 min average first response Knowledgebase Blog
Get started Log in
Home / Knowledgebase / cPanelcPanel

How to Manage File Permissions in cPanel File Manager

Last updated July 21, 2026About 2 minutes to read

File and folder permissions control who can read, write, or execute a file on your server. Getting them wrong is a common cause of “500 Internal Server Error” or a blank white screen.

Reading a permission number

Permissions are shown as three digits (e.g. 644 or 755), one each for the file’s owner, group, and everyone else. Each digit is a sum of: 4 (read), 2 (write), 1 (execute). So 644 means the owner can read and write, while group and others can only read; 755 adds execute for everyone, which folders and scripts need.

The standard, safe defaults

  • Folders: 755
  • Regular files (images, CSS, PHP): 644
  • Scripts that must execute directly (rare on shared hosting): 755

Changing permissions in File Manager

  1. Open Files > File Manager in cPanel.
  2. Right-click the file or folder and choose Change Permissions (or select it and click Permissions in the toolbar).
  3. Tick the boxes or type the numeric value directly, then save.

Never use 777

Setting 777 (read/write/execute for everyone) is a common “quick fix” some tutorials suggest — avoid it. It means any process on the server, including a compromised script, can rewrite that file. If something needs 777 to work, the underlying issue is almost always an ownership mismatch, not a genuine need for world-writable access.

Fixing permissions in bulk

File Manager’s Change Permissions dialog has a “Recurse into subdirectories” option for applying a permission to an entire folder tree at once — useful after a migration or restore where every file ended up with the same (often wrong) permission.

If a WordPress site specifically is throwing permission errors, the common fix is 755 for all directories and 644 for all files, applied recursively, then correcting wp-config.php to 640 if you want it locked down further.

Still stuck?Our support team is here 24/7. A real person replies to every request.