OneFolder
OneFolder copied to clipboard
Can't see network drives when adding a new location while running the app as administrator
Describe the bug When I run OneFolder as administrator, no network drives are listed in the folder picker.
To Reproduce Steps to reproduce the behavior:
- Right-click the OneFolder shortcut
- Click "Run as administrator"
- Click "Add location"
- No network drives are listed.
If I skip step 1 and 2 and open OneFolder by double-clicking (not as administrator), the network drives are listed in step 4, and I can select them.
Expected behavior I would expect to see the available network drives when trying to add a location, after opening the app as administrator.
Screenshots I can't share screenshots.
OneFolder version
v. 1.0.14
Desktop OS
Windows 10
Additional context I was trying to open Onefolder as administrator in an attempt to solve the error I keep getting when adding locations on a network drive, namely:
Error fired in watcher M:/folder/ Error: EISDIR: illegal operation on a directory, watch [...]
Location watch error: Error: EISDIR: illegal operation on a directory, watch [...]
But that's probably for another issue.
Hello, so running as admin doesn't change anything, is that right?
Hello, so running as admin doesn't change anything, is that right?
No, not right. Running as admin makes network drives not appear in the list of drives. When running as admin, I only see local drives like C: and D: listed. When running regularly (not admin), I see all drives (local drives and network drives as well), such as O:, J: etc..
I'm not on Windows, and I know very little about it, so correct me if my questions are dumb. But why do you want to run as admin?
But why do you want to run as admin?
Since I had issues with "illegal operation on a directory" I thought running as admin might help, in case there was some permission issue when accessing network drives.
When running without admin I can see and pick the network drives, but get these errors in the console and the initializing the location fails:
Here's the errors I'm getting (from "additional context" above):
Error fired in watcher M:/folder/ Error: EISDIR: illegal operation on a directory, watch [...] Location watch error: Error: EISDIR: illegal operation on a directory, watch [...]
The directory structure is visible on the left, but no images are listed in the folders.
Do you need me to provide additional details?
That is the intended behavior of Windows and not a bug, you don't see the network drives as Administrator because you didn't mount them as Administrator. network drives are only visible to the exact user who mounted it.