bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: random errors from "rm"


From: Bob Proulx
Subject: Re: random errors from "rm"
Date: Fri, 25 Feb 2005 09:03:59 -0700
User-agent: Mutt/1.5.6+20040907i

Gee M Wong wrote:
> I updated to the setup 2.457.2.2 from 2.427 and started getting
> random errors from "rm".

What do the numbers "2.457.2.2 from 2.427" mean in this context?  I
can't place them.  They don't seem to be related to GNU coreutils.

> For example:
>   address@hidden ~
>   $ echo 123 > aaa
> 
>   address@hidden ~
>   $ ls -l
>   total 1
>   -rw-r--r--  1 Gee None 5 Feb 24 20:20 aaa

It seems strange to me that your user name and group names are
capitalized strings "Gee" and "None".  You have a group "None"?
Strange but probably okay.

>   address@hidden ~
>   $ rm aaa
>   rm: cannot remove `aaa': No such file or directory

That does seem strange.  You created the file so it should be in your
default group.  Now you should be able to remove the file.  However I
wonder about a few things.  What is the output of these commands?

  id

  ls -ld

  ls -ldn . aaa

I would also see if other commands also have errors.

  perl -e 'unlink(@ARGV) or die "@ARGV: $!\n"' aaa

But other than these things I can't imagine what would create the
behavior you are seeing.

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]