dokan-dev / dokany

User mode file system library for windows with FUSE Wrapper
http://dokan-dev.github.io
5.15k stars 657 forks source link

Cannot see mount volume in explorer when Mount Memfs/mirror as Network drive #1148

Closed ylgybbz closed 10 months ago

ylgybbz commented 1 year ago

Feature request can skip this form. Bug report must complete it. Check List must be 100% match or it will be automatically closed without further discussion. Please remove this line.

Environment

Check List

Description

Step to produce: 1、mount Memfs/mirror in user1 session,using command mirror.exe /l Q: /r c:\dokanfs /n \myfs\fs1 2、login as user2,we can see volume Q: in Explorer window 3、umount Q in user1 session: using dokanctl /u Q: 4、 in user1's Explorer window ,Q is disappeard; in user2's Explorer window, Q: is disconnected 5、mount Memfs/mirror as label P: in user1 session,using command mirror.exe /l P: /r c:\dokanfs /n \myfs\fs1 6、in user2 session, we can not see P: volume in Explorer

Logs

Please attach in separate files: mirror output, library logs and kernel logs. In case of BSOD, please attach minidump or dump analyze output.

Liryna commented 1 year ago

This could be due to the broadcast not being received by the user2 explorer which is expected if it is executed by a user without SE_TCB_NAME https://github.com/dokan-dev/dokany/blob/master/dokan/mount.c#L508-L546

See https://github.com/dokan-dev/dokany/blob/master/dokan/mount.c#L523

ylgybbz commented 1 year ago

This could be due to the broadcast not being received by the user2 explorer which is expected if it is executed by a user without SE_TCB_NAME https://github.com/dokan-dev/dokany/blob/master/dokan/mount.c#L508-L546

See https://github.com/dokan-dev/dokany/blob/master/dokan/mount.c#L523

but user1 is administrator, I guess it should have the privilege

LTRData commented 1 year ago

but user1 is administrator, I guess it should have the privilege

Administrators do not have that privilege by default. Only system account, services etc have it.

ylgybbz commented 1 year ago

account

but user1 is administrator, I guess it should have the privilege

Administrators do not have that privilege by default. Only system account, services etc have it.

but user1 is administrator, I guess it should have the privilege

Administrators do not have that privilege by default. Only system account, services etc have it.

Thks,buf after I assign the assign the privilege,the problem still existed image

ylgybbz commented 1 year ago

any suggestion? when i restart explorer.exe , the volume shows up

Liryna commented 10 months ago

@ylgybbz are you still facing the issue ? Were you able to find a solution ?

Edit: Closing for inactivity

ylgybbz commented 10 months ago

@ylgybbz are you still facing the issue ? Were you able to find a solution ?

Edit: Closing for inactivity

No solution found yet