Configuration with Minecraft - AMP cannot manage externally uploaded server files

System Information

Field Value
Operating System Linux - Debian GNU/Linux 12 on x86_64
Product AMP ‘Phobos’ v2.6.2.0 (Mainline)
Virtualization Docker
Application Minecraft
Module MinecraftModule
Running in Container Yes
Current State Ready

Problem Description

Issue

I am hosting a Minecraft instance (ss01) on a Hostinger KVM VPS using AMP “Phobos” v2.6.2.
When I upload or modify files through AMP’s built-in File Manager, everything works.
However, if I upload via aaPanel (or SFTP as root), those files become owned by another user
and AMP’s service user (amp) cannot read, write, delete, or overwrite them.
I have already tried stopping the instance and running:

chown -R amp:amp /home/amp/.ampdata/instances/ss01/Minecraft
chmod -R u+rwx,g+rwX /home/amp/.ampdata/instances/ss01/Minecraft

…but AMP still shows “Access Denied.”
I need guidance on the proper workflow or configuration so that AMP can seamlessly manage
all files, even those uploaded externally, and best practices for syncing files between aaPanel/SFTP and AMP.

Reproduction Steps

  • Stop the ss01 instance in AMP and open its File Manager.
  • Upload a plugin or world folder into /home/amp/.ampdata/instances/ss01/Minecraft via aaPanel.
  • In AMP’s File Manager, attempt to rename, delete or overwrite that file.
  • Observe an “Access Denied” error in AMP preventing any file operation.

You should not be accessing SFTP on port 22, especially not as root, what you’re experiencing is just how normal Linux file permissions work.
Running ampinstmgr fixperms as root will resolve your permission issues.

In the future use SFTP on port 2223 with your AMP login credentials