Skip to content
  • Morgan Adamiec's avatar
    alpm: fix wrong access() being used · c9bf2259
    Morgan Adamiec authored
    When removing files we check _alpm_access() to see if we can write
    (delete) the file. If not, we check if the file exists because if the
    file does not exist then we don't actually need to remove it so there's
    no issue.
    
    However the second call uses acess() instead of _alpm_access() which
    does not the rootdir into account.
    c9bf2259