Hi Chen, On Sun, Feb 02, 2025 at 09:57:33PM +0800, Chen Linxuan wrote: > `mkdir` and `mkdirat` might set errno to EOVERFLOW when UID or GID > mapping has not been configured. See > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=036d523641c66bef713042894a17f4335f199e49 > > This is a small program in the commit message that shows this behavior: > > > Signed-off-by: Chen Linxuan <chenlinxuan@xxxxxxxxxxxxx> Thanks! I've applied the patch. <https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/commit/?h=contrib&id=55802dea2042524eb93d8730c789a62f77e70c96> Cheers, Alex > --- > man/man2/mkdir.2 | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/man/man2/mkdir.2 b/man/man2/mkdir.2 > index d84dbc27e..2af618d68 100644 > --- a/man/man2/mkdir.2 > +++ b/man/man2/mkdir.2 > @@ -203,6 +203,10 @@ does not support the creation of directories. > .B EROFS > .I pathname > refers to a file on a read-only filesystem. > +.B EOVERFLOW > +UID or GID mappings (see > +.BR user_namespaces (7)) > +has not been configured. > .SH VERSIONS > Under Linux, apart from the permission bits, the > .B S_ISVTX > -- > 2.43.0 > -- <https://www.alejandro-colomar.es/>
Attachment:
signature.asc
Description: PGP signature