Date: Tue, 20 Sep 2011 23:23:42 -0400 (EDT) From: "Mikhail T." <mi@aldan.algebra.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: bin/160862: mkdir(2) inconsistent in error-reporting for `/' Message-ID: <201109210323.p8L3NgY6013801@narawntapu.narawntapu> Resent-Message-ID: <201109210330.p8L3UBuH043774@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 160862 >Category: bin >Synopsis: mkdir(2) inconsistent in error-reporting for `/' >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 21 03:30:11 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Mikhail T. >Release: FreeBSD 8.2-STABLE amd64 >Organization: Virtual Estates, Inc. http://sybpipe.com/ >Environment: System: FreeBSD narawntapu 8.2-STABLE FreeBSD 8.2-STABLE #1: Tue Jul 19 02:51:24 EDT 2011 mi@narawntapu:/usr/obj/home/src/sys/POWEREDGE2900 amd64 >Description: When passed "/" as argument, mkdir(2) responds with EISDIR instead of EEXISTS. mkdir(1) prints the error to the user. >How-To-Repeat: As root try: # mkdir / mkdir: /: Is a directory # mkdir /tmp mkdir: /tmp: File exists >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109210323.p8L3NgY6013801>