# Why does Rust say the save folder is read-only?

[Rust server guides](https://rustsc.com/learn/index.html.md) / [Troubleshooting](https://rustsc.com/learn/troubleshooting/index.html.md)

A Linux disk can have plenty of free space and still refuse every write. If the first save error says “Read-only file system”, find out how the volume containing the active world is mounted before changing any file permissions.

## Check the filesystem under the save

Read the path in the error and locate its existing parent folder. In a terminal, run `findmnt --target . --output TARGET,SOURCE,OPTIONS` from that folder. For a game running inside a container, inspect the mount as the game sees it. A different mount may be visible to the host.

Look for `ro` as a complete option. For example, the system drive might be writable while the separate volume under the world folder is read-only. Changing the save folder’s owner cannot make that volume writable.

## Use the exact error to choose the next check

Keep a copy of the error and its time. Avoid starting another world over the affected files while diagnosing the storage.

| First error | What to inspect |
| --- | --- |
| Read-only file system | Check the mount options and kernel or hosting-provider storage messages around the failure. |
| No space left on device | Check capacity on that specific volume with `df -h .` and inode availability with `df -i .`. |
| Permission denied | Check access for the account that runs the game, including its access to the parent folders. |

## Check that the existing world can save again

If a previously writable volume changed to read-only unexpectedly, ask whoever manages the disk to check its health before returning it to service. Once they confirm it is writable, watch a normal save of the existing world. Check its file timestamp advances and the original error is absent for that save.

## Sources

- [Linux open errors](https://man7.org/linux/man-pages/man2/open.2.html)
- [findmnt manual](https://man7.org/linux/man-pages/man8/findmnt.8.html)
- [GNU df manual](https://www.gnu.org/software/coreutils/manual/html_node/df-invocation.html)

## Related resources

- [Free disk space](https://rustsc.com/support/guides/free-disk-space/index.html.md)

---

HTML version: https://rustsc.com/learn/troubleshooting/rust-save-fails-on-a-read-only-filesystem/
