Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-2421

HostDB creates files FOR THE DEVIL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.3.0
    • Component/s: DNS, Security
    • Labels:

      Description

      from iocore/hostdb/MultiCache.cc:

        // XXX: Shouldn't that be 0664?
        //
        if ((fd =::open(p, O_CREAT | O_WRONLY | O_TRUNC, 0666)) >= 0) {
      

      Yes. Yes it should.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                zwoop Leif Hedstrom
                Reporter:
                i.galic Igor Galić
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: