GNU bug report logs - #15813

Previous Next

Package: coreutils;

Reported by: zzigzzz <at> gmail.com

Date: Tue, 5 Nov 2013 17:05:02 UTC

Severity: normal

Tags: notabug

Done: Eric Blake <eblake <at> redhat.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15813 in the body.
You can then email your comments to 15813 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#15813; Package coreutils. (Tue, 05 Nov 2013 17:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to zzigzzz <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Tue, 05 Nov 2013 17:05:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: andrews <zzigzzz <at> gmail.com>
To: bug-coreutils <at> gnu.org
Date: Tue, 05 Nov 2013 17:41:42 +0300
WTF?
sudo rmdir -rf /media/Work/DOWNLOADS/KSP\ -\ Kerbal\ Space\ Program\
0.21.1\ \(2-click\ run\)/
rmdir: неверный ключ -- r
Попробуйте `rmdir --help' для получения более подробного описания.

sudo rmdir -Rf /media/Work/DOWNLOADS/KSP\ -\ Kerbal\ Space\ Program\
0.21.1\ \(2-click\ run\)/
rmdir: неверный ключ -- R
Попробуйте `rmdir --help' для получения более подробного описания.

sudo rmdir -p /media/Work/DOWNLOADS/KSP\ -\ Kerbal\ Space\ Program\
0.21.1\ \(2-click\ run\)/
rmdir: не удалось удалить «/media/Work/DOWNLOADS/KSP - Kerbal Space
Program 0.21.1 (2-click run)/»: Каталог не пуст



Added tag(s) notabug. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Tue, 05 Nov 2013 17:21:01 GMT) Full text and rfc822 format available.

Reply sent to Eric Blake <eblake <at> redhat.com>:
You have taken responsibility. (Tue, 05 Nov 2013 17:21:04 GMT) Full text and rfc822 format available.

Notification sent to zzigzzz <at> gmail.com:
bug acknowledged by developer. (Tue, 05 Nov 2013 17:21:05 GMT) Full text and rfc822 format available.

Message #12 received at 15813-done <at> debbugs.gnu.org (full text, mbox):

From: Eric Blake <eblake <at> redhat.com>
To: zzigzzz <at> gmail.com, 15813-done <at> debbugs.gnu.org
Subject: Re: bug#15813:
Date: Tue, 05 Nov 2013 10:20:30 -0700
[Message part 1 (text/plain, inline)]
tag 15813 notabug
thanks

On 11/05/2013 07:41 AM, andrews wrote:
> WTF?
> sudo rmdir -rf /media/Work/DOWNLOADS/KSP\ -\ Kerbal\ Space\ Program\
> 0.21.1\ \(2-click\ run\)/
> rmdir: неверный ключ -- r
> Попробуйте `rmdir --help' для получения более подробного описания.

[I had to look up in ru.po to untranslate your message; in the C locale,
this is complaining: invalid option -- 'r']

This is correct.  rmdir does not have a -r option; perhaps you were
thinking of 'rm' instead of 'rmdir'?

> 
> sudo rmdir -Rf /media/Work/DOWNLOADS/KSP\ -\ Kerbal\ Space\ Program\
> 0.21.1\ \(2-click\ run\)/
> rmdir: неверный ключ -- R
> Попробуйте `rmdir --help' для получения более подробного описания.

Likewise, 'rmdir' does not have a -R option.

> 
> sudo rmdir -p /media/Work/DOWNLOADS/KSP\ -\ Kerbal\ Space\ Program\
> 0.21.1\ \(2-click\ run\)/
> rmdir: не удалось удалить «/media/Work/DOWNLOADS/KSP - Kerbal Space
> Program 0.21.1 (2-click run)/»: Каталог не пуст

And here, the untranslated message is (roughly, assuming I guessed the
correct strerror translation mapping): failed to remove directory
/media...: directory not empty

That's because 'rmdir' only removes empty directories, but "KSP - Kerbal
Space Program 0.21.1 (2-click run)" appears to be a non-empty directory.
 Again, use 'rm -r' not 'rmdir'.

I'm closing this as user error rather than a bug in coreutils, although
you may feel free to respond if you have more comments or questions on
the topic.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

[signature.asc (application/pgp-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 04 Dec 2013 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 11 years and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.