# [PATCH] 3rd Resend: Add posix_access() FR #14924

- Thread: https://externals.io/message/14297
- Original archive: https://news-web.php.net/php.internals/14297
- Started by magnus@php.net on 2005-01-06T21:40:35+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #14297 — magnus@php.net — 2005-01-06T21:40:35+00:00

URL: https://externals.io/message/14297#14297

Hello,

This patch adds `posix_access()` to the posix extension.
access(2) will report correct permission on systems using ACL for 
example. This is useful when running, for example, SELinux.

I've updated it to include both open_basedir and safe_mode checks.
I'll go ahead and commit it if noone have any complains.

Will close bugs:
#29615
#14924


/Magnus

-- 
Bill Dickey is learning me his experience.
  -- Yogi Berra in his rookie season.
