Thread (14 messages) 14 messages, 2 authors, 2024-12-16

Re: fchmodat(2) does support AT_SYMLINK_NOFOLLOW now, no?

From: Alejandro Colomar <alx@kernel.org>
Date: 2024-08-25 09:52:48

Hi Elliott,

On Fri, Aug 23, 2024 at 02:40:16PM GMT, enh wrote:
subject says it all... the "This flag is not currently implemented."
on the man page is wrong, i think?
I guess it was right when the text was written in 2006.

$ git blame --follow -- man/man2/chmod.2 | grep currently
92f114db82 man2/chmod.2     (Michael Kerrisk   2014-02-21 08:35:27 +0100 207) This flag is not currently implemented.
$ git blame 92f114db82^ -- man2/fchmodat.2 | grep currently
a53b8cb2a0 (Michael Kerrisk  2006-05-02 00:05:06 +0000  99) This flag is not currently implemented.

That might perfectly have changed in the last 18 years.  :)

Would you mind writing a small program and shell session that
demonstrates it?  It could be interesting for an EXAMPLES section.


Have a lovely day!
Alex 

-- 
<https://www.alejandro-colomar.es/>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help