Skip to content

默认限制创建文档层级最大深度为 7 层 #3919

Closed
@88250

Description

@88250

路径名过长的话使用操作系统文件管理器会遇到问题,比如无法复制文件。

Activity

added this to the 1.8.0 milestone on Jan 24, 2022
self-assigned this
on Jan 24, 2022
changed the title [-]限制创建文件层级最大深度[/-] [+]限制创建文档层级最大深度[/+] on Jan 24, 2022
Zuoqiu-Yingyi

Zuoqiu-Yingyi commented on Jan 24, 2022

@Zuoqiu-Yingyi
Contributor

计划限制到多少个字符长度呀❓

88250

88250 commented on Jan 24, 2022

@88250
MemberAuthor

还没确认,这个需要找找资料,你哪里有参考的吗?

Zuoqiu-Yingyi

Zuoqiu-Yingyi commented on Jan 24, 2022

@Zuoqiu-Yingyi
Contributor
88250

88250 commented on Jan 24, 2022

@88250
MemberAuthor

Windows 上好像是最短的。

ID 是 22 个字符,支持 7 层的话大概就是 198(22 * 9 ),剩余字符是分区到 data 文件夹的路径和 \

changed the title [-]限制创建文档层级最大深度[/-] [+]限制创建文档层级最大深度为 7 层[/+] on Jan 24, 2022
Zuoqiu-Yingyi

Zuoqiu-Yingyi commented on Jan 24, 2022

@Zuoqiu-Yingyi
Contributor

@88250 升级时对于现有的大于7层的目录怎么处理?
能不能手动解除该限制呢:broken_heart:
不要一刀切呜呜呜😭

88250

88250 commented on Jan 24, 2022

@88250
MemberAuthor

对于现有数据没有影响,只是不能在 7 层以上的位置创建子文档了。

Zuoqiu-Yingyi

Zuoqiu-Yingyi commented on Jan 24, 2022

@Zuoqiu-Yingyi
Contributor

对于现有数据没有影响,只是不能在 7 层以上的位置创建子文档了。

那能不能设置一个默认关闭的开关呢?
或者可以使用技术手段绕开该限制💔
目前 windows 的路径长度仅受限于 NTFS 的 32k💔

88250

88250 commented on Jan 24, 2022

@88250
MemberAuthor

设置 - 文档树里会加个 允许创建深度大于 7 层的子文档 的选项,默认关闭。

modified the milestones: 1.8.0, 1.7.8 on Jan 24, 2022
changed the title [-]限制创建文档层级最大深度为 7 层[/-] [+]默认限制创建文档层级最大深度为 7 层[/+] on Jan 24, 2022
Rao-Jupiter

Rao-Jupiter commented on Apr 23, 2022

@Rao-Jupiter

Windows 11 里面好像没有这个问题

88250

88250 commented on Apr 23, 2022

@88250
MemberAuthor

@Rao-Jupiter 外部应用软件可能会碰到问题,比如直接复制文件夹的时候。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Zuoqiu-Yingyi@Rao-Jupiter

      Issue actions

        默认限制创建文档层级最大深度为 7 层 · Issue #3919 · siyuan-note/siyuan