Skip to content
Hosting2 min read

What is CageFS?

Short answer

CageFS is a virtual file system from CloudLinux that puts every user on the server in a private "cage": they see only their own files and a limited copy of system files, and can't see other users' accounts or processes. It applies automatically to PHP scripts, cron jobs and SSH sessions.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. How CageFS works
  2. Example from inside an SSH session
  3. What CageFS prevents
  4. Limits and common confusions
  5. On ArabyHost

On a plain Linux server, any user can list the other users and try to read their files if permissions are loose. CageFS changes what each user sees of the file system, so the server appears to contain nothing but their own account.

How CageFS works

  • Each user gets a private virtual file system, built from a shared template of system files such as /usr and /bin.
  • /home shows only the user’s own folder.
  • /etc/passwd contains only their account, and /proc shows only their processes.
  • Isolation applies to everything the user runs: PHP scripts, cron jobs, and SSH and SFTP sessions.
  • When the server admin updates system software, they update the shared template and the change reaches every cage.

Example from inside an SSH session

ls /home          # only your own folder
ps aux            # only your processes
grep -c . /etc/passwd   # a handful of lines, not every account on the server

What CageFS prevents

  • Reading other sites’ config files, such as a wp-config.php holding a database password.
  • Symlink attacks that try to reach another account’s files.
  • Discovering other usernames and processes on the server.
  • Peeking at other users’ temporary and session files, since every user gets a private /tmp.

Limits and common confusions

  • CageFS isolates files; LVE isolates resources: one decides what you can see, the other how much you can use. Read about LVE limits.
  • It doesn’t protect your files from your own account: a compromised plugin inside your account can still change your files. Set proper file permissions and read about malware.
  • Some commands aren’t available: sudo, apt and installing system software, by design.

On ArabyHost

Every ArabyHost account is isolated with CloudLinux CageFS. On AI/Developer plans, SSH is jailed in CageFS: you can use Git, Composer, Node.js and Python, and run Claude Code and Codex, but without root access, sudo or Docker. To get started, read the SSH access guide.

FAQ

Does CageFS stop my site from being hacked?

It won't stop your own site being compromised if it has a vulnerability, but it stops an attacker from moving to other accounts on the server or reading their files. Protecting your site still needs updates, strong passwords and malware scanning.

Why doesn't sudo work over SSH?

Your SSH session runs inside CageFS as a regular user. Admin commands such as sudo, apt and yum aren't available, which is expected on shared hosting.

Can I see other accounts' processes?

No. Inside CageFS, ps shows only your own processes, and /etc/passwd lists only your account.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.