[Bug 217863] passing arguments ( -p or -v ) after folder name in mkdir creates folder named as -p/-v respectively

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Mar 17 09:21:14 UTC 2017


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 at FreeBSD.org
          Reporter: gokuvsvegita at 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.


More information about the freebsd-bugs mailing list