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

Use access system call instead stat for checking the resource availability

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

            • Assignee:
              mturk@apache.org Mladen Turk
              Reporter:
              mturk@apache.org Mladen Turk
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: