Re: rm "fig[1].gif" fails
From: George Reitsma (g.p.reitsma_at_hetnet.nl)
Date: 11/04/03
- Next message: George Reitsma: "Re: rm "fig[1].gif" fails"
- Previous message: Lowell Gilbert: "Re: rm "fig[1].gif" fails"
- In reply to: greg byshenk: "Re: rm "fig[1].gif" fails"
- Next in thread: greg byshenk: "Re: rm "fig[1].gif" fails"
- Reply: greg byshenk: "Re: rm "fig[1].gif" fails"
- Reply: Bill Vermillion: "Re: rm "fig[1].gif" fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 04 Nov 2003 15:18:14 +0100
greg byshenk wrote:
> George Reitsma <g.p.reitsma@hetnet.nl> wrote:
>
>> Us wrote:
>>
>>>George Reitsma <g.p.reitsma@hetnet.nl> wrote:
>
>
>>>>On one (previous Samba directory) windows created a file fig[1].gif
>>>>
>>>>However I cannot remove it.
>
>
> [...]
>
>
>>>>The same happens when I try:
>
>
>>>>#rm fig\[1\].gif
>>>>#rm "fig[1].gif"
>
>
>>>>or
>
>
>>>>#rm "fig\[1\].gif"
>
>
>>>>Everything else I can delete, only this file remains. Weird enough, I
>>>>can open it with Gimp. Also the a name change gives the same
>>>>problems.
>
>
>>>>I use Freebsd 5.1 Release.
>
>
>>>>Anyone has a clue what the problem is?
>
>
>> Yes I am logged in as root. The error message I get is that it cannot
>> find the file, so I suspect it has a problem with those brackets.
>
>
>
> What are the permissions on the file?
>
>
> I've just done:
>
> # touch "fig[1].gif"
> # ls -l
> total 0
> -rw-r--r-- 1 root wheel 0 Nov 4 14:35 fig[1].gif
> # rm fig\[1].gif
> # ls -la
> total 4
> drwxr-xr-x 2 root wheel 512 Nov 4 14:35 .
> drwxrwxr-x 12 root wheel 512 Nov 4 14:34 ..
> #
>
> This is running:
>
> FreeBSD 5.1-RELEASE-p5 #3: Thu Sep 18 19:23:23 CEST 2003
>
>
Is your kernel is more recent then mine? This is what mine says
(dmesg.boot):
FreeBSD 5.1-RELEASE #1: Thu Oct 9 13:47:02 CEST 2003
These are the attributes of the file
-rw-rw-rw- 1 root wheel 19970408 Nov 3 20:02 fig[1].gif
Weird enough I cannot even create a file with a name like that. If I try
to create a text file called: test\[1].txt "vi" says: "Shell Expansion
failed." If I create a textfile test.txt and try to copy it:
#cp test.txt test\[1].txt
#cp: No match.
Strange, don't you think?
George
- Next message: George Reitsma: "Re: rm "fig[1].gif" fails"
- Previous message: Lowell Gilbert: "Re: rm "fig[1].gif" fails"
- In reply to: greg byshenk: "Re: rm "fig[1].gif" fails"
- Next in thread: greg byshenk: "Re: rm "fig[1].gif" fails"
- Reply: greg byshenk: "Re: rm "fig[1].gif" fails"
- Reply: Bill Vermillion: "Re: rm "fig[1].gif" fails"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|