"Mohammad Seth" <[EMAIL PROTECTED]> writes:

> *Symptom*: Could not remove a link to a directory, got the message
>
>>rm current/
> rm: remove directory `current/'? y
> rm: cannot remove directory `current/': Is a directory
>
> current is a symbolic link to directory.

Once you specify the trailing slash, it's no longer talking about the
symbolic link: it's talking about the directory that the link points
to.  It's a bit like specifying a trailing "/.".  For example:

$ ln -s . dir
$ rm dir/
rm: cannot remove `dir/': Is a directory
$ rm dir/.
rm: cannot remove `.' directory `dir/.'
$ rm dir
$ 


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to