From a68d527a37298888482c5fc60832e71fc514fb32 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sat, 2 Sep 2023 13:43:34 -0700 Subject: [PATCH] Warn about Bug#65599 with CIFS chmod/chown --- doc/posix-functions/chmod.texi | 6 ++++++ doc/posix-functions/chown.texi | 6 ++++++ doc/posix-functions/fchmod.texi | 6 ++++++ doc/posix-functions/fchmodat.texi | 7 +++++++ doc/posix-functions/fchown.texi | 6 ++++++ doc/posix-functions/fchownat.texi | 6 ++++++ doc/posix-functions/lchown.texi | 6 ++++++ 7 files changed, 43 insertions(+) diff --git a/doc/posix-functions/chmod.texi b/doc/posix-functions/chmod.texi index 1288964b64..802495957a 100644 --- a/doc/posix-functions/chmod.texi +++ b/doc/posix-functions/chmod.texi @@ -21,4 +21,10 @@ mingw, MSVC. Portability problems not fixed by Gnulib: @itemize +@item +This function sometimes fails with @code{EACCES} when the failure is +due to lack of appropriate privileges (@code{EPERM}), not to +search permission denied on the file name prefix (@code{EACCES}): +Linux kernel 5.15 with glibc 2.35 and a CIFS v1 file system +(see @url{https://bugs.gnu.org/65599}). @end itemize diff --git a/doc/posix-functions/chown.texi b/doc/posix-functions/chown.texi index 91cf6a8880..6a62a6039f 100644 --- a/doc/posix-functions/chown.texi +++ b/doc/posix-functions/chown.texi @@ -31,4 +31,10 @@ mingw, MSVC 14. Portability problems not fixed by Gnulib: @itemize +@item +This function sometimes fails with @code{EACCES} when the failure is +due to lack of appropriate privileges (@code{EPERM}), not to +search permission denied on the file name prefix (@code{EACCES}): +Linux kernel 5.15 with glibc 2.35 and a CIFS v1 file system +(see @url{https://bugs.gnu.org/65599}). @end itemize diff --git a/doc/posix-functions/fchmod.texi b/doc/posix-functions/fchmod.texi index d3fc2a4584..a10104a1d0 100644 --- a/doc/posix-functions/fchmod.texi +++ b/doc/posix-functions/fchmod.texi @@ -15,4 +15,10 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: mingw, MSVC 14. +@item +This function sometimes fails with @code{EACCES} when the failure is +due to lack of appropriate privileges (@code{EPERM}), not to +search permission denied on the file name prefix (@code{EACCES}): +Linux kernel 5.15 with glibc 2.35 and a CIFS v1 file system +(see @url{https://bugs.gnu.org/65599}). @end itemize diff --git a/doc/posix-functions/fchmodat.texi b/doc/posix-functions/fchmodat.texi index 04bb8af97c..ed3833bab3 100644 --- a/doc/posix-functions/fchmodat.texi +++ b/doc/posix-functions/fchmodat.texi @@ -36,4 +36,11 @@ this function can fail with @code{errno} set to @code{EMFILE} or @code{ENFILE}, and it fails with @code{errno} set to @code{EOPNOTSUPP} if the @file{/proc} file system is not mounted: GNU/Linux with glibc 2.34. + +@item +This function sometimes fails with @code{EACCES} when the failure is +due to lack of appropriate privileges (@code{EPERM}), not to +search permission denied on the file name prefix (@code{EACCES}): +Linux kernel 5.15 with glibc 2.35 and a CIFS v1 file system +(see @url{https://bugs.gnu.org/65599}). @end itemize diff --git a/doc/posix-functions/fchown.texi b/doc/posix-functions/fchown.texi index b0d1659f38..83c207133c 100644 --- a/doc/posix-functions/fchown.texi +++ b/doc/posix-functions/fchown.texi @@ -15,4 +15,10 @@ Portability problems not fixed by Gnulib: @item This function is missing on some platforms: mingw, MSVC 14. +@item +This function sometimes fails with @code{EACCES} when the failure is +due to lack of appropriate privileges (@code{EPERM}), not to +search permission denied on the file name prefix (@code{EACCES}): +Linux kernel 5.15 with glibc 2.35 and a CIFS v1 file system +(see @url{https://bugs.gnu.org/65599}). @end itemize diff --git a/doc/posix-functions/fchownat.texi b/doc/posix-functions/fchownat.texi index 530afea11b..cca6c2c75f 100644 --- a/doc/posix-functions/fchownat.texi +++ b/doc/posix-functions/fchownat.texi @@ -35,4 +35,10 @@ Linux with glibc < 2.11. Portability problems not fixed by Gnulib: @itemize +@item +This function sometimes fails with @code{EACCES} when the failure is +due to lack of appropriate privileges (@code{EPERM}), not to +search permission denied on the file name prefix (@code{EACCES}): +Linux kernel 5.15 with glibc 2.35 and a CIFS v1 file system +(see @url{https://bugs.gnu.org/65599}). @end itemize diff --git a/doc/posix-functions/lchown.texi b/doc/posix-functions/lchown.texi index 0efc87d5d0..d9a95b7d23 100644 --- a/doc/posix-functions/lchown.texi +++ b/doc/posix-functions/lchown.texi @@ -26,4 +26,10 @@ Minix 3.1.8, mingw, MSVC 14. Portability problems not fixed by Gnulib: @itemize +@item +This function sometimes fails with @code{EACCES} when the failure is +due to lack of appropriate privileges (@code{EPERM}), not to +search permission denied on the file name prefix (@code{EACCES}): +Linux kernel 5.15 with glibc 2.35 and a CIFS v1 file system +(see @url{https://bugs.gnu.org/65599}). @end itemize -- 2.39.5