Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Mar 2017 09:21:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 217863] passing arguments ( -p or -v ) after  folder name in mkdir creates folder named as -p/-v respectively
Message-ID:  <bug-217863-8@https.bugs.freebsd.org/bugzilla/>

index | next in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217863

            Bug ID: 217863
           Summary: passing arguments ( -p or -v ) after  folder name in
                    mkdir creates folder named as -p/-v respectively
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: gokuvsvegita@gmail.com

After using FreeBSD for a while I stumbled upon one weird bug(?):
Issuing '$mkdir foo/bar/now/here -p' or '$mkdir foo -v' creates a folder named
'-p' or '-v' respectively.
It is in my habbit of passing -p and -v afterwards, so I can change it... but
mkdir should never create a folder name '-p' or '-v', over which I can't even
cd or rm.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217863-8>