Traffic Server
  1. Traffic Server
  2. TS-381

Use access system call instead stat for checking the resource availability

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      Currently we are using stat for checking weather file or directory exist
      stat call doesn't take into account the user privileges and even if the file is there
      it might be unavailable to the current user
      Use the access system call instead.

        Activity

          People

          • Assignee:
            Mladen Turk
            Reporter:
            Mladen Turk
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development