When configuring SFTP backups in NSX Manager or during an NSX Backup operation, the process fails with a "permissions" or "access denied" error. This occurs even after verifying that the SFTP account has full read/write permissions for the backup directory path.
The SFTP backup application is a 3rd party implementation such as GlobalScape.
Similar logs are found in NSX Manager:
Location: /var/log/gmanager/gmanager-ui.log
2026-10-20T15:02:13.230Z INFO NSX 9743 [nsx@4413 comp="global-manager" level="INFO" logger="UI_LOG" reqId="" subcomp="global-manager" threadName="http-nio-<IP>-64440-exec-22" username="admin"] {"user":"admin","message":"Api Errors->","messageData":{"headers":{"normalizedNames":{},"lazyUpdate":null},"status":400,"statusText":"OK","url":"https://<NSX-manager>/api/v1/cluster/backups/config","ok":false,"name":"HttpErrorResponse","message":"Http failure response for https://<NSX-manager>/api/v1/cluster/backups/config: 400 OK","error":{"httpStatus":"BAD_REQUEST","error_code":29274,"module_name":"backup-restore","error_message":"Error: Backup error: User doesn't have permission to create directory on fileserver sftp://:22// (Error code: 29274)","error_data":{"status":400}}},"level":"Error"........
Location: /var/log/syslog*
2026-10-20T15:01:45.654Z ERROR NSX 9743 [nsx@4413 comp="global-manager" errorCode="MP29274" level="ERROR" logger="LocalBackupConfigurationFacadeImpl" reqId="<UUID>" subcomp="global-manager" threadName="http-nio-<IP>-64440-exec-24" username="admin"] ; BackupAsyncStatus [BackupStatus [status=PERMISSION_ERROR_FILESTORE_CREATING_REMOTE_DIRECTORY, statusDetail=Error creating remote directory., remoteUri=sftp://<SFTP-Server>:22/VCFBackups/, errorCode=null, startTime=1792508504006, endTime=1792508505651]; responseBody=null]
VMware NSX
The NSX backup process is designed to ensure the correct directory structure exists before uploading backup files. As part of this, it attempts to mkdir the backup directory path. If the directory already exists, the process should gracefully handle a standard "Failure" response and continue. Some SFTP server configurations return a non-standard error response or fail the mkdir command for existing directories with a "Permission denied" error, causing the NSX backup configuration process to abort prematurely.
To confirm if your SFTP server is returning an incompatible response for directory creation, perform the following test from the NSX Manager CLI:
Log in to the NSX Manager CLI as root.
Establish an SFTP connection to your remote backup server using the command (adjust the username, IP, and path accordingly):/usr/bin/sftp -P 22 -o HostKeyAlgorithms=ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 -o UserKnownHostsFile=/dev/null -o NumberOfPasswordPrompts=1 -o PreferredAuthentications=password,keyboard-interactive -o ConnectTimeout=3 <username>@<server_ip>
Attempt to create a directory that already exists on the server:mkdir /path/to/existing/directory
Observe the output. If the server returns a "Permission denied" for the already existing directory, this confirms the incompatibility.
Workaround:
Configure NSX to use a supported SFTP server