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

        Mladen Turk created issue -
        Hide
        Mladen Turk added a comment -

        Committed as r949397

        Show
        Mladen Turk added a comment - Committed as r949397
        Mladen Turk made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Leif Hedstrom made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Gavin made changes -
        Workflow jira [ 12512073 ] TS Workflow [ 12522347 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1m 19s 1 Mladen Turk 29/May/10 15:38
        Resolved Resolved Closed Closed
        87d 12h 15m 1 Leif Hedstrom 25/Aug/10 03:53

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development