linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 102621] New: Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal
@ 2015-08-10 16:31 bugzilla-daemon
  2015-08-10 17:36 ` [Bug 102621] " bugzilla-daemon
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-08-10 16:31 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=102621

            Bug ID: 102621
           Summary: Directory name or file name staring with '-' cannot be
                    handled through command line,i.e.,terminal
           Product: File System
           Version: 2.5
    Kernel Version: 3.16.7-21-desktop
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: ext2
          Assignee: fs_ext2@kernel-bugs.osdl.org
          Reporter: saptarshinag620@gmail.com
        Regression: No

Firstly,one cannot create a directory or a file through command-line with its
name starting with '-'. That is one cannot give command like 'mkdir -test' or
'touch -test' where '-test' is the directory name and file name
respectively.But in other way,one can easily create or work with such directory
or file in GUI,but that file or directory cannot be accessed or handled through
command-line.It has been tested in Suse Linux and Ubuntu,maybe it is universal
bug for linux

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102621] Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal
  2015-08-10 16:31 [Bug 102621] New: Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal bugzilla-daemon
@ 2015-08-10 17:36 ` bugzilla-daemon
  2015-08-10 18:07 ` bugzilla-daemon
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-08-10 17:36 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=102621

Eric Sandeen <sandeen@redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sandeen@redhat.com

--- Comment #1 from Eric Sandeen <sandeen@redhat.com> ---
Not a bug, kernel or otherwise.  You're simply seeing mkdir & touch interpret
"-t" as an option.  Preface with "./" to avoid this:

[sandeen@sandeen ~]$ mkdir ./-testdir
[sandeen@sandeen ~]$ cd ./-testdir
[sandeen@sandeen -testdir]$ pwd
/home/sandeen/-testdir
[sandeen@sandeen -testdir]$ touch ./-test
[sandeen@sandeen -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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102621] Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal
  2015-08-10 16:31 [Bug 102621] New: Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal bugzilla-daemon
  2015-08-10 17:36 ` [Bug 102621] " bugzilla-daemon
@ 2015-08-10 18:07 ` bugzilla-daemon
  2015-08-11 15:51 ` bugzilla-daemon
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-08-10 18:07 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=102621

--- Comment #2 from Saptarshi Nag <saptarshinag620@gmail.com> ---
Hi Eric,thanks for explaining this,it works now

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102621] Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal
  2015-08-10 16:31 [Bug 102621] New: Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal bugzilla-daemon
  2015-08-10 17:36 ` [Bug 102621] " bugzilla-daemon
  2015-08-10 18:07 ` bugzilla-daemon
@ 2015-08-11 15:51 ` bugzilla-daemon
  2020-10-05 20:56 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2015-08-11 15:51 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=102621

Theodore Tso <tytso@mit.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |tytso@mit.edu
         Resolution|---                         |INVALID

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102621] Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal
  2015-08-10 16:31 [Bug 102621] New: Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal bugzilla-daemon
                   ` (2 preceding siblings ...)
  2015-08-11 15:51 ` bugzilla-daemon
@ 2020-10-05 20:56 ` bugzilla-daemon
  2020-10-06 13:23 ` bugzilla-daemon
  2020-10-06 15:53 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-10-05 20:56 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=102621

--- Comment #3 from dmsfuddid@gmail.com ---
unsubscribe linux-ext4

2015년 8월 10일 (월) 오후 6:38, <bugzilla-daemon@bugzilla.kernel.org>님이 작성:

> https://bugzilla.kernel.org/show_bug.cgi?id=102621
>
>             Bug ID: 102621
>            Summary: Directory name or file name staring with '-' cannot be
>                     handled through command line,i.e.,terminal
>            Product: File System
>            Version: 2.5
>     Kernel Version: 3.16.7-21-desktop
>           Hardware: All
>                 OS: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: ext2
>           Assignee: fs_ext2@kernel-bugs.osdl.org
>           Reporter: saptarshinag620@gmail.com
>         Regression: No
>
> Firstly,one cannot create a directory or a file through command-line with
> its
> name starting with '-'. That is one cannot give command like 'mkdir -test'
> or
> 'touch -test' where '-test' is the directory name and file name
> respectively.But in other way,one can easily create or work with such
> directory
> or file in GUI,but that file or directory cannot be accessed or handled
> through
> command-line.It has been tested in Suse Linux and Ubuntu,maybe it is
> universal
> bug for linux
>
> --
> 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@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102621] Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal
  2015-08-10 16:31 [Bug 102621] New: Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal bugzilla-daemon
                   ` (3 preceding siblings ...)
  2020-10-05 20:56 ` bugzilla-daemon
@ 2020-10-06 13:23 ` bugzilla-daemon
  2020-10-06 15:53 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-10-06 13:23 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=102621

Mauricio Faria de Oliveira (mfo@canonical.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |mfo@canonical.com

--- Comment #4 from Mauricio Faria de Oliveira (mfo@canonical.com) ---
(In reply to Eric Sandeen from comment #1)
> Not a bug, kernel or otherwise.  You're simply seeing mkdir & touch
> interpret "-t" as an option.  Preface with "./" to avoid this:

One can also use '--' to stop parsing for options, e.g.,

$ touch -- -test

$ mkdir -- -test-dir

$ ls -1d -- -test*
-test
-test-dir

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug 102621] Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal
  2015-08-10 16:31 [Bug 102621] New: Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal bugzilla-daemon
                   ` (4 preceding siblings ...)
  2020-10-06 13:23 ` bugzilla-daemon
@ 2020-10-06 15:53 ` bugzilla-daemon
  5 siblings, 0 replies; 7+ messages in thread
From: bugzilla-daemon @ 2020-10-06 15:53 UTC (permalink / raw)
  To: linux-ext4

https://bugzilla.kernel.org/show_bug.cgi?id=102621

--- Comment #5 from Theodore Tso (tytso@mit.edu) ---
(Note that this bug is five years old, and was closed years ago.  The only
reason why it got activity recently is because a spammer tried to upload a
malware / phishing attachment to kernel bugzilla.)

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-10-06 15:53 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-10 16:31 [Bug 102621] New: Directory name or file name staring with '-' cannot be handled through command line,i.e.,terminal bugzilla-daemon
2015-08-10 17:36 ` [Bug 102621] " bugzilla-daemon
2015-08-10 18:07 ` bugzilla-daemon
2015-08-11 15:51 ` bugzilla-daemon
2020-10-05 20:56 ` bugzilla-daemon
2020-10-06 13:23 ` bugzilla-daemon
2020-10-06 15:53 ` bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).