You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Mladen Turk (JIRA)" <ji...@apache.org> on 2010/05/29 16:39:38 UTC

[jira] Resolved: (TS-381) Use access system call instead stat for checking the resource availability

     [ https://issues.apache.org/jira/browse/TS-381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mladen Turk resolved TS-381.
----------------------------

    Resolution: Fixed

Committed as r949397


> Use access system call instead stat for checking the resource availability
> --------------------------------------------------------------------------
>
>                 Key: TS-381
>                 URL: https://issues.apache.org/jira/browse/TS-381
>             Project: Traffic Server
>          Issue Type: Improvement
>            Reporter: Mladen Turk
>            Assignee: Mladen Turk
>             Fix For: 2.1.1
>
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.