AzureStorageExplorer icon indicating copy to clipboard operation
AzureStorageExplorer copied to clipboard

‘Downloads/Desktop’ folder does not disappear from File Share after deletion on Windows

Open v-xianya opened this issue 3 months ago • 7 comments

Storage Explorer Version

1.40.0-dev (107)

Regression From

Not a regression

Architecture

arm64

Storage Explorer Build Number

20250926.2

Platform

Windows

OS Version

Windows11 arm64

Bug Description

‘Downloads/Desktop’ folder does not disappear from File Share after deletion on Windows

Resource Types

File Shares

Authentication Method

Sign in

Connection Type

Sign in (subscription)

Steps to Reproduce

  1. Expand a storage account -> File Shares.
  2. Create a new file share -> Click 'Upload -> Upload Folder...'.
  3. Select the Downloads folder and upload it.
  4. After upload completes, delete the Downloads folder from the file share.
  5. Wait for the delete operation to complete.
  6. Check whether the Downloads folder disappears from the file share.

Actual Experience

  1. The 'Downloads' folder doesn't appear.
  2. Show a successful activity log.
Image

Expected Experience

The 'Downloads' folder appears.

Additional Context

  1. This issue doesn't reproduce on Linux and MacOS (The Attributes for uploaded 'Downloads/Desktop' folder is Directory not 'ReadOnly | Directory').
  2. This issue doesn't reproduce for blob containers/ADLS Gen2 blob containers.
  3. This issue also reproduces for 'Desktop' folder.

v-xianya avatar Sep 26 '25 08:09 v-xianya

@v-xianya What happens if you turn off Preserve Info and repeat the steps?

craxal avatar Sep 26 '25 17:09 craxal

@craxal Turn off Preserve Info, the Attributes is 'Directory' and succeed to delete the folder.

v-xianya avatar Sep 28 '25 01:09 v-xianya

@v-xianya I will consider that as by design then. Read only folders can't be deleted.

craxal avatar Sep 29 '25 17:09 craxal

Hi @craxal Thank you for the response! Since the folder is read-only and cannot be deleted, the activity log should indicate a failed deletion instead of showing it as successful.

v-xianya avatar Sep 30 '25 09:09 v-xianya

@v-xianya What shows up in the app log and the AzCopy log?

craxal avatar Sep 30 '25 21:09 craxal

@craxal Here is the app log (Preserve Info setting is enabled): 2025-10-09_024522.zip 2025-10-09_023933.zip

I’m not sure where to retrieve the AzCopy log other than from the Activities log. Image

v-xianya avatar Oct 09 '25 02:10 v-xianya

Seems like AzCopy did not generate a log, which is unusual. Based on the app log, it seems the reason we show success is because we didn't get any errors from AzCopy. We can bring this up with AzCopy.

craxal avatar Oct 09 '25 19:10 craxal