Skip to contentSkip to conversation

man/man2/rename.2: Remove CAP_MKNOD remark about whiteout creation

PATCH Applied Alejandro Colomar 1 participant 2 messages Oct 9 – Nov 7 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Alejandro Colomar

author maintainer Reviewed-by
#1 lore raw

Hi Günther,

Quoted 6 lines

Date: 2026-10-09 16:36:56+0200
From: Günther Noack <[email protected]>

Whiteout objects do not count as device files and do not require CAP_MKNOD since linux.git a3c751a50fe6 (2020-05-14; "vfs: allow unprivileged whiteout creation").

Thanks! I checked the referenced commit, and it seems correct.

(I'm not taking the patch yet, in case Miklos wants to comment, but
I will take it eventually.)

Quoted 1 line

You forgot to CC the list. :)

Have a lovely night!
Alex

Quoted 23 lines
---
 man/man2/rename.2 | 5 -----
 1 file changed, 5 deletions(-)
man/man2/rename.2 +0 -5
index 14be6b20d3c9..7e5c02797230 100644
@@ -250,11 +250,6 @@ is ignored by the kernel's whiteout support code,
 as of Linux 4.19, at least.)
 .IP
 .B RENAME_WHITEOUT
-requires the same privileges as creating a device node (i.e., the
-.B CAP_MKNOD
-capability).
-.IP
-.B RENAME_WHITEOUT
 can't be employed together with
 .BR RENAME_EXCHANGE .
 .IP
Signature · 1 line
2.56.0
Signature · 1 line
<https://www.alejandro-colomar.es>
author maintainer Applied
#2 lore raw

Hi,

Quoted 12 lines

Date: 2026-10-09 21:27:05+0200
From: Alejandro Colomar <[email protected]>

Hi Günther,

Quoted 6 lines

Date: 2026-10-09 16:36:56+0200
From: Günther Noack <[email protected]>

Whiteout objects do not count as device files and do not require CAP_MKNOD since linux.git a3c751a50fe6 (2020-05-14; "vfs: allow unprivileged whiteout creation").

Quoted 6 lines

Thanks! I checked the referenced commit, and it seems correct.

(I'm not taking the patch yet, in case Miklos wants to comment, but
I will take it eventually.)

I've applied the patch. Thanks!

Cheers,
Alex

Quoted 36 lines
Quoted 2 lines

You forgot to CC the list. :)

Have a lovely night!
Alex

Quoted 23 lines
---
 man/man2/rename.2 | 5 -----
 1 file changed, 5 deletions(-)
man/man2/rename.2 +0 -5
index 14be6b20d3c9..7e5c02797230 100644
@@ -250,11 +250,6 @@ is ignored by the kernel's whiteout support code,
 as of Linux 4.19, at least.)
 .IP
 .B RENAME_WHITEOUT
-requires the same privileges as creating a device node (i.e., the
-.B CAP_MKNOD
-capability).
-.IP
-.B RENAME_WHITEOUT
 can't be employed together with
 .BR RENAME_EXCHANGE .
 .IP
Signature · 1 line
2.56.0
Signature · 1 line
<https://www.alejandro-colomar.es>
Signature · 1 line
<https://www.alejandro-colomar.es>