Azure Storage SFTP - Unable to delete files since this week

Werner de Bruin 21 Reputation points
2022-07-06T07:21:00.89+00:00

Hi, we are using sftp in preview on azure storage. Our ability to delete files via sftp stopped working where we are getting the error "no such file or directory"

We have made sure that our users have the correct permissions. This stopped working from the 5th of July.

We can however rename files and move them into other folders

Error with smtp command:

Error: rm /test directory/testfile: no such file or directory

Any idea why this would have happened and how to resolve?

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
3,082 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 47,486 Reputation points Microsoft Employee
    2022-07-06T13:44:52.773+00:00

    @Werner de Bruin Welcome to Microsoft Q&A Forum, Thank you for posting your query here!

    We are aware of this issue, again thanks for reporting the issue The fix has already been made, it will be released very soon.

    In the meantime, they have a few options:

    1. Disable soft delete for blobs on the account. This will allow deleting files via SFTP.
    2. Delete the blobs with another protocol, such as REST.

    Please let us know if you have any further queries. I’m happy to assist you further.

    ----------

    Please do not forget to 218262-screenshot-2021-12-10-121802.png and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.