question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bug: Creating folder in non-root path of SMB device will create multiple folders

See original GitHub issue

Description

When creating a folder with any name in a SMB device ( say, Z:\ ) and in non-root path ( say, Z:\Test ), the same action will be done 3 times including the initial one for no reason. This WON’T happen on the SMB device’s root path ( say, Z:\ ), nor in local drives on the PC.

https://user-images.githubusercontent.com/8479301/182029169-017fa4ba-00b5-49e5-9191-c10a059894e7.mp4

Requirements

  • Only one folder should be created

Steps To Reproduce

  1. Attach one or more SMB device using “Map a network drive” and open it with Files
  2. Create a folder on the root path of that drive - notice that until this step everything seemed normal
  3. Enter the newly-created folder, and create any new folder
  4. See the error as shown in the video in the description

Files Version

Version: 2.3.3.0 OS Version: 10.0.22000.832

Windows Version

Windows 11 21H2 22000.832

Relevant Assets/Logs

debug.log

2022-07-31 21:22:37.7887|INFO|OnLaunched|App launched. Prelaunch: False
2022-07-31 21:22:38.0677|INFO|GetDrivesAsync|Drive added: C:\, Fixed
2022-07-31 21:22:38.1107|INFO|GetDrivesAsync|Drive added: D:\, Fixed
2022-07-31 21:22:38.1377|INFO|GetDrivesAsync|Drive added: E:\, Fixed
2022-07-31 21:22:38.1667|INFO|GetDrivesAsync|Drive added: F:\, Removable
2022-07-31 21:22:38.1947|INFO|GetDrivesAsync|Drive added: Z:\, Network
2022-07-31 21:22:38.5847|INFO|UpdateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\jh961\OneDrive
2022-07-31 21:22:39.6287|INFO|CheckForUpdates|STORE: Checking for updates...
2022-07-31 21:22:39.9607|INFO|IsRunningOnArm|Running on ARM: False
2022-07-31 21:28:13.2927|INFO|OnLaunched|App launched. Prelaunch: False
2022-07-31 21:28:13.5397|INFO|GetDrivesAsync|Drive added: C:\, Fixed
2022-07-31 21:28:13.5817|INFO|GetDrivesAsync|Drive added: D:\, Fixed
2022-07-31 21:28:13.6107|INFO|GetDrivesAsync|Drive added: E:\, Fixed
2022-07-31 21:28:13.6387|INFO|GetDrivesAsync|Drive added: F:\, Removable
2022-07-31 21:28:13.6707|INFO|GetDrivesAsync|Drive added: Z:\, Network
2022-07-31 21:28:13.7667|INFO|UpdateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\jh961\OneDrive
2022-07-31 21:28:14.8616|INFO|CheckForUpdates|STORE: Checking for updates...
2022-07-31 21:29:09.7619|INFO|OnLaunched|App launched. Prelaunch: False
2022-07-31 21:29:10.0119|INFO|GetDrivesAsync|Drive added: C:\, Fixed
2022-07-31 21:29:10.0439|INFO|GetDrivesAsync|Drive added: D:\, Fixed
2022-07-31 21:29:10.0769|INFO|GetDrivesAsync|Drive added: E:\, Fixed
2022-07-31 21:29:10.1039|INFO|GetDrivesAsync|Drive added: F:\, Removable
2022-07-31 21:29:10.1309|INFO|GetDrivesAsync|Drive added: Z:\, Network
2022-07-31 21:29:10.2269|INFO|UpdateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\jh961\OneDrive
2022-07-31 21:29:11.2389|INFO|CheckForUpdates|STORE: Checking for updates...
2022-07-31 21:29:12.7227|INFO|IsRunningOnArm|Running on ARM: False
2022-07-31 21:46:25.2167|INFO|OnLaunched|App launched. Prelaunch: False
2022-07-31 21:46:25.7010|INFO|UpdateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\jh961\OneDrive
2022-07-31 21:47:32.0728|INFO|OnLaunched|App launched. Prelaunch: False
2022-07-31 21:47:32.3518|INFO|GetDrivesAsync|Drive added: C:\, Fixed
2022-07-31 21:47:32.3938|INFO|GetDrivesAsync|Drive added: D:\, Fixed
2022-07-31 21:47:32.4298|INFO|GetDrivesAsync|Drive added: E:\, Fixed
2022-07-31 21:47:32.4688|INFO|GetDrivesAsync|Drive added: F:\, Removable
2022-07-31 21:47:32.4988|INFO|GetDrivesAsync|Drive added: Z:\, Network
2022-07-31 21:47:32.5918|INFO|UpdateDrivesAsync|Adding cloud provider "OneDrive" mapped to C:\Users\jh961\OneDrive
2022-07-31 21:47:33.7698|INFO|CheckForUpdates|STORE: Checking for updates...

No explicit revelant log was recorded in debug_fulltrust.log when the bug was reproduced

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
yaira2commented, Apr 30, 2023

@jh961202 can you check if this is still an issue?

0reactions
yaira2commented, May 21, 2023

@jh961202 we can’t repro this issue anymore but if it’s still happening on your device, please let us know and we’ll reopen this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to create / edit files as non-root through Samba mount
This happens when the directory on the Samba share does not have permission for non-root users. In this example, unixuser should be the...
Read more >
Can't make folders with some names in FreeNAS Samba ...
I have a FreeNAS box with 40 or so SMB shares. Mostly works no problem. Except for this one share where I can't...
Read more >
"New Folder" command creates 4 folders on hidden ...
Whenever I issue the "New folder command" (Toolbar of right click context menu) on a hidden network share drive (i.e. \\SERVER\DATA$\Path\to\ ...
Read more >
[SOLVED] Sharing Multiple Folders on Local Network ...
I am trying to share 2 folders in 2 of my external drives on to my other devices on my local network using...
Read more >
How do I mount Samba share as non-root user
A very nice tool to easily mount your samba shares in your home folder is SMBNetFS. With this tool you can access your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found