Knowledgebase

Cannot write to directory or Read-only file system Print

  • diskspace, permissions, troubleshooting, support, restore, woocommerce, caching, uploads
  • 0

Writes are refused.

THE COMMON CAUSES

Permissions wrong Ownership wrong Disk quota full Inode limit reached

CHECK QUOTA FIRST

A full account refuses writes and reports it in various confusing ways. Check disk and inodes in the statistics panel.

This accounts for most cases and is the quickest to rule out.

PERMISSIONS

The directory needs 755 with correct ownership.

Writable directories such as uploads, cache and storage need the same. Not 777.

OWNERSHIP

If permissions are correct and writes still fail, ownership is wrong.

Common after a restore or a transfer by an unusual route. Open a ticket and we will correct it.

READ-ONLY FILE SYSTEM

Rarely an account-level problem. If you genuinely see this, open a ticket, since it may indicate a server-side condition.

CHECKING WHAT THE APPLICATION EXPECTS

Most applications state which directories they need to write to. Check those specifically rather than changing everything.

AFTER FIXING

Retry the operation. No restart is needed.


Was this answer helpful?
Back

Are you happy with your experience? Leave us a review on Trustpilot.


Trustpilot