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

Use access system call instead stat for checking the resource availability

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.1.1
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: