Re: [patch] chmod.2, lchmod.3: Document lchmod()

Dmitry V. Levin
2021-01-10T07:49:36Z

Hi,

On Sun, Jan 10, 2021 at 05:37:13AM +0100, Bruno Haible wrote:
> Hi,
>
> lchmod (= the effect of fchmod with flag AT_SYMLINK_NOFOLLOW)
> is implemented since glibc 2.32, see
> https://sourceware.org/bugzilla/show_bug.cgi?id=14578
> https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=752dd17443e55a4535cb9e6baa4e550ede383540
>
> Here is a patch to update the man pages accordingly.

Please note the important limitation of that implementation:
it doesn't work when /proc is not mounted, see
https://sourceware.org/bugzilla/show_bug.cgi?id=26401

--
ldv