]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: Work around kernel bugs in chmod on /proc/self/fd paths fw/tst-lchmod
authorFlorian Weimer <fweimer@redhat.com>
Wed, 12 Feb 2020 12:40:26 +0000 (13:40 +0100)
committerFlorian Weimer <fweimer@redhat.com>
Wed, 12 Feb 2020 19:58:56 +0000 (20:58 +0100)
commit1afe8d934bae345de278d79334ef6ab57d3614f7
treea629dc36bc1b55d0f7fe815e6eec458a51f6222e
parentf34c4d0f10ed09500d5f0ebd473c3f37ce4989d7
Linux: Work around kernel bugs in chmod on /proc/self/fd paths

It appears that the ability to change symbolic link modes through such
paths is unintended.  On several file systems, the operation fails with
EOPNOTSUPP, even though the symbolic link permissions are updated.
The expected behavior is a failure to update the permissions, without
file system changes.
io/tst-lchmod.c
sysdeps/unix/sysv/linux/fchmodat.c