NFS SMB mounted datacenter

OS Name/Version: Debian 11 (bullseye)

Product Name/Version: AMP Instance Manager v2.4.3 built 14/03/2023 21:50

Problem Description: Unable to install instances. Chmod issue.

I have mounted an NFS to be used as instances location and setup it as a datacenter in the AMP GUI. The instance installer tries to give the folder executable permissions;

Using cached archive: /home/amp/.ampdata/instances/
Configuration Failed: chmod +x "/nfs/Data/AMP_Server/Homies01/AMP_Linux_x86_64" failed with return code 1
Create Instance Failed: chmod +x "/nfs/Data/AMP_Server/Homies01/AMP_Linux_x86_64" failed with return code 1

The amp user has executable permissions for all folders inside the NFS share.

amp@Games:/nfs/Data$ ls -la
total 4
drwxrwxrwx 2 root root    0 Apr  3 07:07 .
drwxr-xr-x 3 root root 4096 Apr  3 05:14 ..
drwxrwxrwx 2 root root    0 Apr  3 06:17 AMP_Server
drwxrwxrwx 2 root root    0 Apr  1 03:01 images

Is there a way to stop the instance manager from changing the permissions itself?
I’ve tired both NFS and SMB/CIFS but nothing changes. Will still fail at trying to chmod the folder.

SMB isn’t supported for Linux datastores because its not possible to handle the permissions properly. You must either use a NFS share or an iSCSI volume. It’s trying to give the AMP executable execute permissions otherwise it won’t be able to start.

The datastore directory must be owned by the amp user. It is not sufficient for it to be owned by root or another user with altered permissions.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.