2 @subsection @code{euidaccess}
5 Documentation:@* @uref{https://www.kernel.org/doc/man-pages/online/pages/man3/euidaccess.3.html,,man euidaccess}
7 Gnulib module: euidaccess
9 Portability problems fixed by Gnulib:
12 This function is missing on many non-glibc platforms:
13 macOS 14, FreeBSD 14.0, NetBSD 10.0, OpenBSD 7.5, Minix 3.1.8, AIX 5.1, HP-UX 11, Solaris 11.3, Cygwin 1.5.x, mingw, MSVC 14, Android 9.0.
16 Portability problems not fixed by Gnulib:
20 Other problems of this function:
23 There is an inherent race between calling this function and performing
24 some action based on the results; you should think twice before trusting
25 this function, especially in a set-uid or set-gid program.
27 This function does not have an option for not following symbolic links
28 (like @code{stat} versus @code{lstat}). If you need this option, use
29 the Gnulib module @code{faccessat} with the @code{AT_EACCESS} flag.
31 On Solaris, for the root user, any file is @code{X_OK} even if the file
32 does not have the @code{x} permission bit set.