Jump to content

[Solved] SFTP shows SSH_FX_FAILURE when creating directories – please check ACLs or chroot configuration


Recommended Posts

Posted
  • Server: Johnny (johnny.heliohost.org)

  • Path: /devashraf/waken.helioho.st/jpnew/

  • Directory permissions are 775 recursively

  • Error: Could not create directory: Received error SSH_FX_FAILURE with description 'Failure'

  • Cannot mkdir or write files, even though 775 is set

Request: Please check if ACLs are restricting write access, or if there's a chroot security policy blocking writes to this directory.
Note: Even file manager uploads fail with the error below: 

No upload response

Some files were not uploaded due to an error. The remaining files will not be uploaded.

Posted
7 hours ago, devashraf said:

Directory permissions are 775 recursively

Directory permissions are supposed to be 755, not 775. If you've broken your account by changing permissions I would recommend doing a reset.

Posted

Thank you. Restoring a previous backup fixed the problem.
The problem happened when I deleted the entire /jpnew/ folder from the server and uploaded another one from the PC.
I already had a backup, which I restored, and everything is OK.

For some reason, local folders can't work, as they result in non-adjustable persmissions problem (persists even if fixed).
I should deal with internal contents, instead of deleting the enitre folder and uploading another.

Thanks again.

  • Krydos changed the title to [Solved] SFTP shows SSH_FX_FAILURE when creating directories – please check ACLs or chroot configuration

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...