问了金山,sdk考虑过软链接的问题,但因为太复杂而放弃。扫描使用非常频繁,如果写得不好,效率会很低。如果禁止软链接,会导致某些功能失效,如通过软链接链接到快盘同步目录以外的文件夹。
Ma Jun <email address hidden>编写:
>现在只是监控目录变化,要禁止创建软链接可能有一定难度。关键需要SDK进行调整,如果SDK无法调整,可以在扫描之前自己遍历一下目录检查是否存在路径环? > >-- >You received this bug notification because you are a member of Ubuntu >Kylin Members, which is subscribed to kuaipan4uk. >https://bugs.launchpad.net/bugs/1252180 > >Title: > kuaipan4uk cannot stop scan if softink creates a circle in file tree > >Status in KuaiPan for Ubuntu Kylin: > Triaged > >Bug description: > 当软链接构成环时,kuaipan4uk 会一直扫描。经查inotify 没有问题,应该是SDK缺少判断。 > >To manage notifications about this bug go to: >https://bugs.launchpad.net/kuaipan4uk/+bug/1252180/+subscriptions > >-- >Mailing list: https://launchpad.net/~ubuntukylin-members >Post to : <email address hidden> >Unsubscribe : https://launchpad.net/~ubuntukylin-members >More help : https://help.launchpad.net/ListHelp
问了金山,sdk考虑过软链接的 问题,但因为太复杂而放弃。 扫描使用非常频繁, 如果写得不好, 效率会很低。如果禁止软链接, 会导致某些功能失效, 如通过软链接链接到快盘同步目录 以外的文件夹。
Ma Jun <email address hidden>编写:
>现在只是监控目录变化, 要禁止创建软链接可能有一定难度 。关键需要SDK进行调整, 如果SDK无法调整, 可以在扫描之前自己遍历一下目录 检查是否存在路径环? /bugs.launchpad .net/bugs/ 1252180 /bugs.launchpad .net/kuaipan4uk /+bug/1252180/ +subscriptions /launchpad. net/~ubuntukyli n-members /launchpad. net/~ubuntukyli n-members /help.launchpad .net/ListHelp
>
>--
>You received this bug notification because you are a member of Ubuntu
>Kylin Members, which is subscribed to kuaipan4uk.
>https:/
>
>Title:
> kuaipan4uk cannot stop scan if softink creates a circle in file tree
>
>Status in KuaiPan for Ubuntu Kylin:
> Triaged
>
>Bug description:
> 当软链接构成环时,kuaipan4uk 会一直扫描。经查inotify 没有问题,应该是SDK缺少判断。
>
>To manage notifications about this bug go to:
>https:/
>
>--
>Mailing list: https:/
>Post to : <email address hidden>
>Unsubscribe : https:/
>More help : https:/