Blob Storage SFTP Permissions

Romeo Valko 21 Reputation points
2022-01-20T13:01:16.093+00:00

Hello,

I succesfully created a storage with SFTP access to the container.
My plan is to create an user which have only permission to create non-existing files, and prevent to override anything.
As I understand, I need the "Create" permission which allows to upload file if file doesn't exist.

Unfortunately at "put" command I receive "remote open("/test.txt"): Permission denied".
I also tried mkdir command which works perfectly.
With the "Write" permission it's working, but it can also enable to override the existing file, which for my scenarion is not permitted.

If you have any suggestion, why I'm getting Permission denied at "Put" command with Creator permission, and how I can solve it please let me know.

Thanks,
Romeo

Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,408 questions
{count} votes

Accepted answer
  1. Sumarigo-MSFT 43,321 Reputation points Microsoft Employee
    2022-01-21T03:10:54.3+00:00

    @Romeo Valko Thanks for providing the detailed information of the issue.

    Product team is aware of this issue (This is a known issue and )the fix will be rolled out in GA very soon.(The bug has already been fixed ) . I will keep you post updated the GA release or Get the latest updates on Azure products and features to meet your cloud investment needs. Subscribe to notifications to stay informed

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

    ----------

    Please do not forget to 167085-screenshot-2021-12-10-121802.png and 167005-image.png wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Alan Kinane 16,781 Reputation points MVP
    2022-01-20T15:45:11.14+00:00

    I have the same issue here. It only works with the 'write' permission added like you said. This feature for storage accounts is still in public preview so it may be the case that this is a current issue or limitation with the feature although I don't see it listed as a known issue currently.

    0 comments No comments

  2. Romeo Valko 21 Reputation points
    2022-01-21T08:42:43.083+00:00

    @Sumarigo-MSFT Thanks for letting me know. In that case I'll wait patiently until the fix will be deployed :)

    0 comments No comments