[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <bug-102621-13602-PugbzxioPO@https.bugzilla.kernel.org/>
Date: Mon, 10 Aug 2015 17:36:31 +0000
From: bugzilla-daemon@...zilla.kernel.org
To: linux-ext4@...r.kernel.org
Subject: [Bug 102621] Directory name or file name staring with '-' cannot be
handled through command line,i.e.,terminal
https://bugzilla.kernel.org/show_bug.cgi?id=102621
Eric Sandeen <sandeen@...hat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sandeen@...hat.com
--- Comment #1 from Eric Sandeen <sandeen@...hat.com> ---
Not a bug, kernel or otherwise. You're simply seeing mkdir & touch interpret
"-t" as an option. Preface with "./" to avoid this:
[sandeen@...deen ~]$ mkdir ./-testdir
[sandeen@...deen ~]$ cd ./-testdir
[sandeen@...deen -testdir]$ pwd
/home/sandeen/-testdir
[sandeen@...deen -testdir]$ touch ./-test
[sandeen@...deen -testdir]$ ls -l
total 0
-rw-rw-r--. 1 sandeen sandeen 0 Aug 10 12:34 -test
--
You are receiving this mail because:
You are watching the assignee of the bug.
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists