From unknown Tue Aug 19 23:12:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20501: Include EINVAL in mkdir(2) man page Resent-From: Raghavendra Prabhu Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 04 May 2015 15:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20501 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: To: 20501@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.143075372414317 (code B ref -1); Mon, 04 May 2015 15:36:02 +0000 Received: (at submit) by debbugs.gnu.org; 4 May 2015 15:35:24 +0000 Received: from localhost ([127.0.0.1]:33881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIOu-0003in-Bk for submit@debbugs.gnu.org; Mon, 04 May 2015 11:35:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57292) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpHQ0-0000gn-U6 for submit@debbugs.gnu.org; Mon, 04 May 2015 10:32:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpHPu-0005pG-UE for submit@debbugs.gnu.org; Mon, 04 May 2015 10:32:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHPu-0005pC-SE for submit@debbugs.gnu.org; Mon, 04 May 2015 10:32:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHPu-0004g0-2J for bug-coreutils@gnu.org; Mon, 04 May 2015 10:32:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpHPq-0005oP-Qc for bug-coreutils@gnu.org; Mon, 04 May 2015 10:32:17 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:37589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHPq-0005o7-KQ for bug-coreutils@gnu.org; Mon, 04 May 2015 10:32:14 -0400 Received: by widdi4 with SMTP id di4so112233946wid.0 for ; Mon, 04 May 2015 07:32:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:mime-version:from:date:message-id:subject :to:content-type; bh=bSI4lRgzazMBzYw6KoobBnyLuYmYcMFpOzKSQ94YH+k=; b=e7PT/zZFIeMBJSjjyBZYxQuO+08ZmYB4x6wgeLNmNMM2S57k0qU4d/phdwSspd9lPG JdS02A27PbSkGAvw0avebKja+Y361lcpebyTXzaaqlkEe3nA1FlF6YutGZt9gKstPVlt gNY/o+XLhqO6lugHWzLjZWxo+KGSIAh/JErZQK5WzLHSylGH3qLI++8mbw+ab0aIWis/ kXE10+bgzCU1B4ICfp3nihBYlsrx2TeMZaqALOQ5GISZiqX84HtztCR/Ld4/Yyo5B2ah zSeaGdqeUHKoKlHhCxV3Scsjgrr1BEPH8ljAGQ15jVcHZIR4dPnVporlqXg5qg0aeMeB lYfw== X-Gm-Message-State: ALoCoQm2GQqdVssdd3Lo3yiG/NVCli0cWXiBbJY2Th6SDRnOfg+pbGTUtv63XryP9PZ6y0ReoRiN X-Received: by 10.194.78.12 with SMTP id x12mr40820738wjw.112.1430749933464; Mon, 04 May 2015 07:32:13 -0700 (PDT) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com. [74.125.82.45]) by mx.google.com with ESMTPSA id g14sm20863145wjs.47.2015.05.04.07.32.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2015 07:32:12 -0700 (PDT) Received: by wgen6 with SMTP id n6so152190310wge.3 for ; Mon, 04 May 2015 07:32:11 -0700 (PDT) X-Received: by 10.180.218.137 with SMTP id pg9mr4291713wic.79.1430749931911; Mon, 04 May 2015 07:32:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.74.104 with HTTP; Mon, 4 May 2015 07:31:31 -0700 (PDT) From: Raghavendra Prabhu Date: Mon, 4 May 2015 20:01:31 +0530 Message-ID: Content-Type: multipart/alternative; boundary=001a1134cedc74418e0515426d2b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Mon, 04 May 2015 11:35:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1134cedc74418e0515426d2b Content-Type: text/plain; charset=UTF-8 Hi, It is possible for mkdir(2) to return EINVAL in certain circumstances. However, the man page mkdir(2) doesn't mention that. I am hitting it on overlayfs. Other instances reported: http://stackoverflow.com/questions/10015377/mkdir-pathname-with-symbol http://lists.opensuse.org/opensuse-bugs/2009-05/msg01771.html So, it needs to be documented in man page for mkdir(2). ------ Raghavendra --001a1134cedc74418e0515426d2b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

It is possible for mkdir(2) to retu= rn EINVAL in certain circumstances. However, the man page mkdir(2) doesn= 9;t mention that.

I am hitting it on overlayfs. Ot= her instances reported:=C2=A0


So, it needs to be documented in man page for mkdir(2).

------
Raghavendra

--001a1134cedc74418e0515426d2b-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 04 11:44:45 2015 Received: (at control) by debbugs.gnu.org; 4 May 2015 15:44:45 +0000 Received: from localhost ([127.0.0.1]:33896 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIY0-0003yR-PX for submit@debbugs.gnu.org; Mon, 04 May 2015 11:44:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42142) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIXx-0003yC-QW; Mon, 04 May 2015 11:44:42 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 0D6B58E79B; Mon, 4 May 2015 15:44:40 +0000 (UTC) Received: from [10.3.113.25] (ovpn-113-25.phx2.redhat.com [10.3.113.25]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t44FidMR014113; Mon, 4 May 2015 11:44:39 -0400 Message-ID: <554793E7.1000303@redhat.com> Date: Mon, 04 May 2015 09:44:39 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Raghavendra Prabhu , 20501-done@debbugs.gnu.org Subject: Re: bug#20501: Include EINVAL in mkdir(2) man page References: In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vucTbH6sj5TBTctXBKxv0DwOGQ2eVrIgr" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vucTbH6sj5TBTctXBKxv0DwOGQ2eVrIgr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tag 20501 notabug thanks On 05/04/2015 08:31 AM, Raghavendra Prabhu wrote: > Hi, >=20 > It is possible for mkdir(2) to return EINVAL in certain circumstances. > However, the man page mkdir(2) doesn't mention that. Unfortunately, the mkdir(2) man page is owned by the kernel man pages project, not by coreutils. We can do nothing about it here. As such, I'm closing this bug report from the coreutils bug database, although you should still feel free to comment here as desired. >=20 > I am hitting it on overlayfs. Other instances reported: >=20 > http://stackoverflow.com/questions/10015377/mkdir-pathname-with-symbol > http://lists.opensuse.org/opensuse-bugs/2009-05/msg01771.html >=20 > So, it needs to be documented in man page for mkdir(2). In general, POSIX allows any interface to return additional errors other than what is strictly documented, as long as those additional errors make sense and as long as a documented error is not missed. So well-written code should never assume that only documented errors can be returned. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --vucTbH6sj5TBTctXBKxv0DwOGQ2eVrIgr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVR5PnAAoJEKeha0olJ0NqCSgIAKHrKOObkDPjVerI5f6H2lkp Dp+m56HfLn9Eaf82KkV+ylmQY5LoqUdMRAKfycqlYdsu3MxtKcBQfa+bR5/ow565 mif3WJnfTM0E/BWkwGD9JaC5vUu/fcxHEK0N9w5fL3XgHB3PtYNYIXuZELKN3QP8 QUnT+83CRMekAkuvvM9j9aNarcAsL/AHzIt1PpDjamxIxxY43mBDx0rxqqP2Muyk GklYCImbUzC3B+c9LF8AkZDV2isRPGNuMIlKC4kR1XzaA3Moo/mUxDI+BvQJeNnM 2Ww4rzWDJWQCZM6AZBjdbtUFkx7ZHHAnSjW4a/NImtTmBBIaVmDPKb2lseLA0zY= =PQPv -----END PGP SIGNATURE----- --vucTbH6sj5TBTctXBKxv0DwOGQ2eVrIgr-- From unknown Tue Aug 19 23:12:58 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Raghavendra Prabhu Subject: bug#20501: closed (Re: bug#20501: Include EINVAL in mkdir(2) man page) Message-ID: References: <554793E7.1000303@redhat.com> X-Gnu-PR-Message: they-closed 20501 X-Gnu-PR-Package: coreutils X-Gnu-PR-Keywords: notabug Reply-To: 20501@debbugs.gnu.org Date: Mon, 04 May 2015 15:45:06 +0000 Content-Type: multipart/mixed; boundary="----------=_1430754306-15340-1" This is a multi-part message in MIME format... ------------=_1430754306-15340-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #20501: Include EINVAL in mkdir(2) man page which was filed against the coreutils package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 20501@debbugs.gnu.org. --=20 20501: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20501 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1430754306-15340-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 20501-done) by debbugs.gnu.org; 4 May 2015 15:44:44 +0000 Received: from localhost ([127.0.0.1]:33894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIY0-0003yO-8p for submit@debbugs.gnu.org; Mon, 04 May 2015 11:44:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42142) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIXx-0003yC-QW; Mon, 04 May 2015 11:44:42 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 0D6B58E79B; Mon, 4 May 2015 15:44:40 +0000 (UTC) Received: from [10.3.113.25] (ovpn-113-25.phx2.redhat.com [10.3.113.25]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t44FidMR014113; Mon, 4 May 2015 11:44:39 -0400 Message-ID: <554793E7.1000303@redhat.com> Date: Mon, 04 May 2015 09:44:39 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Raghavendra Prabhu , 20501-done@debbugs.gnu.org Subject: Re: bug#20501: Include EINVAL in mkdir(2) man page References: In-Reply-To: OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vucTbH6sj5TBTctXBKxv0DwOGQ2eVrIgr" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20501-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --vucTbH6sj5TBTctXBKxv0DwOGQ2eVrIgr Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tag 20501 notabug thanks On 05/04/2015 08:31 AM, Raghavendra Prabhu wrote: > Hi, >=20 > It is possible for mkdir(2) to return EINVAL in certain circumstances. > However, the man page mkdir(2) doesn't mention that. Unfortunately, the mkdir(2) man page is owned by the kernel man pages project, not by coreutils. We can do nothing about it here. As such, I'm closing this bug report from the coreutils bug database, although you should still feel free to comment here as desired. >=20 > I am hitting it on overlayfs. Other instances reported: >=20 > http://stackoverflow.com/questions/10015377/mkdir-pathname-with-symbol > http://lists.opensuse.org/opensuse-bugs/2009-05/msg01771.html >=20 > So, it needs to be documented in man page for mkdir(2). In general, POSIX allows any interface to return additional errors other than what is strictly documented, as long as those additional errors make sense and as long as a documented error is not missed. So well-written code should never assume that only documented errors can be returned. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --vucTbH6sj5TBTctXBKxv0DwOGQ2eVrIgr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVR5PnAAoJEKeha0olJ0NqCSgIAKHrKOObkDPjVerI5f6H2lkp Dp+m56HfLn9Eaf82KkV+ylmQY5LoqUdMRAKfycqlYdsu3MxtKcBQfa+bR5/ow565 mif3WJnfTM0E/BWkwGD9JaC5vUu/fcxHEK0N9w5fL3XgHB3PtYNYIXuZELKN3QP8 QUnT+83CRMekAkuvvM9j9aNarcAsL/AHzIt1PpDjamxIxxY43mBDx0rxqqP2Muyk GklYCImbUzC3B+c9LF8AkZDV2isRPGNuMIlKC4kR1XzaA3Moo/mUxDI+BvQJeNnM 2Ww4rzWDJWQCZM6AZBjdbtUFkx7ZHHAnSjW4a/NImtTmBBIaVmDPKb2lseLA0zY= =PQPv -----END PGP SIGNATURE----- --vucTbH6sj5TBTctXBKxv0DwOGQ2eVrIgr-- ------------=_1430754306-15340-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 4 May 2015 15:35:24 +0000 Received: from localhost ([127.0.0.1]:33881 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIOu-0003in-Bk for submit@debbugs.gnu.org; Mon, 04 May 2015 11:35:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57292) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpHQ0-0000gn-U6 for submit@debbugs.gnu.org; Mon, 04 May 2015 10:32:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpHPu-0005pG-UE for submit@debbugs.gnu.org; Mon, 04 May 2015 10:32:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:33061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHPu-0005pC-SE for submit@debbugs.gnu.org; Mon, 04 May 2015 10:32:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42566) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHPu-0004g0-2J for bug-coreutils@gnu.org; Mon, 04 May 2015 10:32:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpHPq-0005oP-Qc for bug-coreutils@gnu.org; Mon, 04 May 2015 10:32:17 -0400 Received: from mail-wi0-f176.google.com ([209.85.212.176]:37589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHPq-0005o7-KQ for bug-coreutils@gnu.org; Mon, 04 May 2015 10:32:14 -0400 Received: by widdi4 with SMTP id di4so112233946wid.0 for ; Mon, 04 May 2015 07:32:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:mime-version:from:date:message-id:subject :to:content-type; bh=bSI4lRgzazMBzYw6KoobBnyLuYmYcMFpOzKSQ94YH+k=; b=e7PT/zZFIeMBJSjjyBZYxQuO+08ZmYB4x6wgeLNmNMM2S57k0qU4d/phdwSspd9lPG JdS02A27PbSkGAvw0avebKja+Y361lcpebyTXzaaqlkEe3nA1FlF6YutGZt9gKstPVlt gNY/o+XLhqO6lugHWzLjZWxo+KGSIAh/JErZQK5WzLHSylGH3qLI++8mbw+ab0aIWis/ kXE10+bgzCU1B4ICfp3nihBYlsrx2TeMZaqALOQ5GISZiqX84HtztCR/Ld4/Yyo5B2ah zSeaGdqeUHKoKlHhCxV3Scsjgrr1BEPH8ljAGQ15jVcHZIR4dPnVporlqXg5qg0aeMeB lYfw== X-Gm-Message-State: ALoCoQm2GQqdVssdd3Lo3yiG/NVCli0cWXiBbJY2Th6SDRnOfg+pbGTUtv63XryP9PZ6y0ReoRiN X-Received: by 10.194.78.12 with SMTP id x12mr40820738wjw.112.1430749933464; Mon, 04 May 2015 07:32:13 -0700 (PDT) Received: from mail-wg0-f45.google.com (mail-wg0-f45.google.com. [74.125.82.45]) by mx.google.com with ESMTPSA id g14sm20863145wjs.47.2015.05.04.07.32.12 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2015 07:32:12 -0700 (PDT) Received: by wgen6 with SMTP id n6so152190310wge.3 for ; Mon, 04 May 2015 07:32:11 -0700 (PDT) X-Received: by 10.180.218.137 with SMTP id pg9mr4291713wic.79.1430749931911; Mon, 04 May 2015 07:32:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.74.104 with HTTP; Mon, 4 May 2015 07:31:31 -0700 (PDT) From: Raghavendra Prabhu Date: Mon, 4 May 2015 20:01:31 +0530 Message-ID: Subject: Include EINVAL in mkdir(2) man page To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=001a1134cedc74418e0515426d2b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 04 May 2015 11:35:18 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1134cedc74418e0515426d2b Content-Type: text/plain; charset=UTF-8 Hi, It is possible for mkdir(2) to return EINVAL in certain circumstances. However, the man page mkdir(2) doesn't mention that. I am hitting it on overlayfs. Other instances reported: http://stackoverflow.com/questions/10015377/mkdir-pathname-with-symbol http://lists.opensuse.org/opensuse-bugs/2009-05/msg01771.html So, it needs to be documented in man page for mkdir(2). ------ Raghavendra --001a1134cedc74418e0515426d2b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

It is possible for mkdir(2) to retu= rn EINVAL in certain circumstances. However, the man page mkdir(2) doesn= 9;t mention that.

I am hitting it on overlayfs. Ot= her instances reported:=C2=A0


So, it needs to be documented in man page for mkdir(2).

------
Raghavendra

--001a1134cedc74418e0515426d2b-- ------------=_1430754306-15340-1-- From unknown Tue Aug 19 23:12:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20501: Include EINVAL in mkdir(2) man page Resent-From: Raghavendra Prabhu Original-Sender: "Debbugs-submit" Resent-CC: bug-coreutils@gnu.org Resent-Date: Mon, 04 May 2015 15:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20501 X-GNU-PR-Package: coreutils X-GNU-PR-Keywords: notabug To: 20501@debbugs.gnu.org X-Debbugs-Original-To: bug-coreutils@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.143075455815753 (code B ref -1); Mon, 04 May 2015 15:50:03 +0000 Received: (at submit) by debbugs.gnu.org; 4 May 2015 15:49:18 +0000 Received: from localhost ([127.0.0.1]:33904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpIcO-000460-Vu for submit@debbugs.gnu.org; Mon, 04 May 2015 11:49:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58597) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YpHV7-0000pP-Qx for submit@debbugs.gnu.org; Mon, 04 May 2015 10:37:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpHV1-0007sM-EZ for submit@debbugs.gnu.org; Mon, 04 May 2015 10:37:36 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:54338) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHV1-0007sI-CG for submit@debbugs.gnu.org; Mon, 04 May 2015 10:37:35 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHUw-0008JL-K7 for bug-coreutils@gnu.org; Mon, 04 May 2015 10:37:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YpHUq-0007pS-TC for bug-coreutils@gnu.org; Mon, 04 May 2015 10:37:30 -0400 Received: from mail-wi0-f182.google.com ([209.85.212.182]:37584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YpHUq-0007pN-N9 for bug-coreutils@gnu.org; Mon, 04 May 2015 10:37:24 -0400 Received: by widdi4 with SMTP id di4so112412184wid.0 for ; Mon, 04 May 2015 07:37:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:mime-version:in-reply-to:references:from :date:message-id:subject:to:content-type; bh=g1yKKZAm6xYkOIemaJqZj3vbBMeniTyeIkYwm2tYL5w=; b=CZd+vkbFLEBKnZlZhcK3Nak/uNYJq3mKSwVkM2Mc6wKz+vP2yLqouJaJFl44EO/4dx TNENGG2zNlT9aHXJzRm8u4eNCICK/whqcMDWNWm9RGD4nKteolc+LaSqDV7WzWEtCOBo h6Uzkm7o5GL2mzE1r+HtgrjuAt2wpSzk7YMfHF0PCYFh0zAnTq8cE+DOOsmGCdNgG4YF 80Yp8zxCaQHsTS3CXDLVn7gIya+2e4KditDKwgD7GUeIuENl5SLGVtumfMWd6J4TTO1Y 3CxcDaQw9fYPvngAaRtxgJtTDDJhpfFRNmwQvOQF1kRZNfCCSI8GcCTUW9JYBR+PyQA7 Yc6Q== X-Gm-Message-State: ALoCoQmRlR7GdraIKzVC8p5HyqURvWfs3sF6bZ51zo7E6mUPIRghR8aVBPIs/FU/KS6copkwA/EN X-Received: by 10.194.172.72 with SMTP id ba8mr42422507wjc.136.1430750244009; Mon, 04 May 2015 07:37:24 -0700 (PDT) Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com. [209.85.212.170]) by mx.google.com with ESMTPSA id fs9sm20906299wjc.34.2015.05.04.07.37.23 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 May 2015 07:37:23 -0700 (PDT) Received: by wizk4 with SMTP id k4so124055973wiz.1 for ; Mon, 04 May 2015 07:37:22 -0700 (PDT) X-Received: by 10.180.218.137 with SMTP id pg9mr4329787wic.79.1430750242616; Mon, 04 May 2015 07:37:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.74.104 with HTTP; Mon, 4 May 2015 07:36:42 -0700 (PDT) In-Reply-To: References: From: Raghavendra Prabhu Date: Mon, 4 May 2015 20:06:42 +0530 Message-ID: Content-Type: multipart/alternative; boundary=001a1134cedcf939b90515427f61 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Mon, 04 May 2015 11:49:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1134cedcf939b90515427f61 Content-Type: text/plain; charset=UTF-8 Apologies for the report. Looks like mkdir(2) man page is maintained by man-pages project, I will report it there. Thanks. On Mon, May 4, 2015 at 8:01 PM, Raghavendra Prabhu wrote: > Hi, > > It is possible for mkdir(2) to return EINVAL in certain circumstances. > However, the man page mkdir(2) doesn't mention that. > > I am hitting it on overlayfs. Other instances reported: > > http://stackoverflow.com/questions/10015377/mkdir-pathname-with-symbol > http://lists.opensuse.org/opensuse-bugs/2009-05/msg01771.html > > So, it needs to be documented in man page for mkdir(2). > > ------ > Raghavendra > > --001a1134cedcf939b90515427f61 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Apologies for the report.=C2=A0 Looks like mkdir(2) man pa= ge is maintained by man-pages project, I will report it there.=C2=A0 Thanks= .

On Mon, Ma= y 4, 2015 at 8:01 PM, Raghavendra Prabhu <me@rdprabhu.com> wro= te:
Hi,

It is possible for mkdir(2) to return EINVAL in certain circumstances. H= owever, the man page mkdir(2) doesn't mention that.

I am hitting it on overlayfs. Other instances reported:=C2=A0


So, it needs to be documented in man page for mkdir(2).

------
Raghavendra


--001a1134cedcf939b90515427f61--