copy-file: Add functions for copying non-confidential files.
[gnulib.git] / doc / glibc-functions / euidaccess.texi
bloba4edfb3dd2874783ed8cd9ede7aba20e7c1e3891
1 @node euidaccess
2 @subsection @code{euidaccess}
3 @findex 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:
10 @itemize
11 @item
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.
14 @end itemize
16 Portability problems not fixed by Gnulib:
17 @itemize
18 @end itemize
20 Other problems of this function:
21 @itemize
22 @item
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.
26 @item
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.
30 @item
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.
33 @end itemize