mirror of https://git.musl-libc.org/git/musl
Browse Source
the access function cannot be used to check for existence, because it operates using real uid/gid rather than effective to determine accessibility; this matters for the non-final path components. instead, use stat. failure of stat is success if only the final component is missing (ENOENT) and otherwise is failure.rs-1.0
1 changed files with 11 additions and 4 deletions
Loading…
Reference in new issue