microsoft / AzureStorageExplorer

Easily manage the contents of your storage account with Azure Storage Explorer. Upload, download, and manage blobs, files, queues, tables, and Cosmos DB entities. Gain easy access to manage your virtual machine disks. Work with either Azure Resource Manager or classic storage accounts, plus manage and configure cross-origin resource sharing (CORS) rules.
Creative Commons Attribution 4.0 International
375 stars 86 forks source link

Fail to paste one file from one file share which has 'Storage File Data Privileged Reader' role to one blob container which has 'Storage Blob Data Contributor' role #7796

Open v-kellyluo opened 7 months ago

v-kellyluo commented 7 months ago

Storage Explorer Version: 1.34.0-dev (98) Build Number: 20240305.3 Branch: main Platform/OS: Windows 10/Linux Ubuntu 22.04/MacOS Sonoma 14.3(Apple M1 Pro) Architecture: x64/x64/x64 How Found: From running test cases Regression From: Not a regression

Steps to Reproduce

  1. Launch Storage Explorer -> Check the settings 'Enable Files OAuth Support' and 'Disable Usage Of Keys'.
  2. Restart Storage Explorer.
  3. Expand one storage account which has assigned a role 'Storage File Data Privileged Reader' -> File Shares.
  4. Open one file share -> Copy one file.
  5. Expand one storage account which has assigned a role 'Storage Blob Data Contributor' -> Blob Containers.
  6. Open one blob container -> Click 'Paste'.
  7. Check whether succeeds to paste the file.

Expected Experience

Succeed to paste the file.

Actual Experience

Fail to paste the file. image

Additional Context

  1. Here is the AzCopy log: a3cd282f-e55c-244b-5c2b-26eb45e09a7d.log
  2. This issue doesn't reproduce if paste one blob from one blob container which has 'Storage Blob Data Reader' role to a file share which has 'Storage File Data Privileged Contributor' role.
craxal commented 2 months ago

Blocked on AzCopy.