Thread (3 messages) 3 messages, 2 authors, 2021-07-26

Re: Errors in man pages, here: rename.2

flat view

From: Michael Kerrisk (man-pages) <hidden>
Date: 2021-07-25 22:58:49

Hi Helge
Man page: rename.2
Issue: So far, the manpage does not mention a variable I<pathname>

"The directory containing I<oldpath> has the sticky bit (B<S_ISVTX>)  set and "
"the process's effective user ID is neither the user ID of the file to be "
"deleted nor that of the directory containing it, and the process is not "
"privileged (Linux: does not have the B<CAP_FOWNER> capability); or "
"I<newpath> is an existing file and the directory containing it has the "
"sticky bit set and the process's effective user ID is neither the user ID of "
"the file to be replaced nor that of the directory containing it, and the "
"process is not privileged (Linux: does not have the B<CAP_FOWNER> "
"capability); or the filesystem containing I<pathname> does not support "
"renaming of the type requested."
Wow. That bug has been present for 28 years (since the page was first
added in 1993)!

s/pathname/oldpath/

Thanks,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help