https://bugzilla.wikimedia.org/show_bug.cgi?id=67597

            Bug ID: 67597
           Summary: Wikimetrics backup should warn about symlinks pointing
                    out of /var/lib/wikimetrics
           Product: Analytics
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Wikimetrics
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected],
                    [email protected], [email protected]
       Web browser: ---
   Mobile Platform: ---

Wikimetrics backup should warn about symlinks pointing out of
'/var/lib/wikimetrics'.

The '/var/lib/wikimetrics' is the directory that holds all public reports for
wikimetrics, this directory is created by puppet. 

Within that directory there are symlinks that give a more friendly name to
reports, for example:  "/NewlyRegistered/enwiki.json" might point to a file
that just has an id like "/12345/full.report.json". 

Now, the target of any symlink (the "12345/full_report.json") should be located
inside the /var/lib/wikimetrics directory, if there are symlinks to paths
located outside the directory backup script should log an error.

The backup script does not de-reference directories.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to