FTP, SFTP and SSH · OpenSSH
An SFTP upload fails in the top folder
Last updated 30 Nov 2026
An SFTP upload to the top folder, /, fails with Permission denied. OpenSSH requires root to own that folder, so upload to /files, where the customer's files live.
Symptoms
An upload to / fails with the following error.
dest open "/x.txt": Permission deniedThe same upload works in /files.
Cause
SFTP shows the customer /home/USER as /. Root owns that folder, as sshd requires.
The customer's files are in /files, where the SFTP session starts.
Resolution
Upload to
/filesor a folder under it. The customer's sites are under/files/web.Set the remote folder in the SFTP client to
/filesso the client opens there.Run this command to open an SFTP session directly in
/files.sftp USER@server.example.net:/files/
Still need help?Ask in the community ↗Open a support ticket ↗