Hi HestiaCP Team & Community,
I’m running into an issue with SFTP jail directories on my server. After uploading video files via an SFTP user (e.g., vids1
), I noticed that the same files also appear under other jailed users like vids1_vids
, taking up additional disk space.
Examples:
/srv/jail/vids1/home/vids1/web/…/contents/videos/…
/srv/jail/vids1_vids/home/vids1_vids/…/contents/videos/…
These folders contain the same files (same names and sizes), and I’m concerned it’s causing unnecessary disk usage. I’ve double-checked:
- I’m not running any scripts that copy or sync these.
- The uploads are done via SFTP into only one user.
- All users are set up by HestiaCP and chrooted via OpenSSH Match blocks.
My questions:
- Is HestiaCP responsible for this duplication behavior?
- Is this expected or a misconfiguration?
- Can I avoid this and make users share the same data directory (safely)?
- Any best practices for jailed FTP users working with large video files?
I’d really appreciate any explanation or advice on how to handle this better — especially with large files like video content.
Thanks in advance!