Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

把目录设置为磁盘根目录,且未开启-a参数时,打不开首页 #3

Closed
WHJWNAVY opened this issue Apr 3, 2023 · 1 comment

Comments

@WHJWNAVY
Copy link

WHJWNAVY commented Apr 3, 2023

把目录设置为磁盘根目录,且未开启-a参数时,打不开首页

  • 图片
  • 图片
  • 图片

因为此盘根目录下默认有两个隐藏文件夹:

  • $RECYCLE.BIN
  • System Volume Information
    图片
@beavailable
Copy link
Owner

感谢反馈,我刚刚检查了下,你说的问题确实存在。

但不是因为根目录下有隐藏文件/目录,而是因为根目录自身带有 hidden 属性导致被判断成隐藏目录,不知道 windows 为什么设计成这样。

无论如何这是一个 bug,而且受影响的不只是根目录,如果你尝试分享任意一个隐藏目录而不开启-a选项都会触发这个 bug。

已修复。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants