Comment 4 for bug 1252180

Revision history for this message
Luo Lei (luolei) wrote : Re: [Ubuntukylin-members] [Bug 1252180] Re: kuaipan4uk cannot stop scan if softink creates a circle in file tree

问了金山,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