Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-13117

Junctions and symlinks are not properly handled by vfs.dir.size on Windows

    XMLWordPrintable

    Details

    • Team:
      Team C
    • Sprint:
      Sprint 23, Sprint 24, Sprint 25, Sprint 26
    • Story Points:
      1

      Description

      Create two directories which contains symlinks or junctions (created with mklink) to each other. While apparently there are some safeguards (or just luck?) in Windows and it will not result in infinite recursion, it does loop 70+ times and gives incorrect result.

      On *nix systems symlinks are followed only once. However that is done by checking inode, not sure if we can apply similar pattern on Windows. In worst case it would be better to ignore symlinks/juctions on Windows and document it.

        Attachments

          Activity

            People

            Assignee:
            MVekslers Michael Veksler
            Reporter:
            wiper Andris Zeila
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: