GNU bug report logs - #12602
bug in chmod

Previous Next

Package: coreutils;

Reported by: Гальченко Алексей <gasx <at> rambler.ru>

Date: Mon, 8 Oct 2012 16:05:01 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 12602 in the body.
You can then email your comments to 12602 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#12602; Package coreutils. (Mon, 08 Oct 2012 16:05:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Гальченко Алексей <gasx <at> rambler.ru>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Mon, 08 Oct 2012 16:05:02 GMT) Full text and rfc822 format available.

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

From: Гальченко Алексей
	<gasx <at> rambler.ru>
To: bug-coreutils <at> gnu.org
Subject: bug in chmod
Date: Mon, 08 Oct 2012 18:29:33 +0300
root <at> desktop:/home/user# chmod a+r *
chmod: неизвестный ключ «--else»
Попробуйте `chmod --help' для получения более подробного описания.




Added tag(s) notabug. Request was from Eric Blake <eblake <at> redhat.com> to control <at> debbugs.gnu.org. (Mon, 08 Oct 2012 16:52:02 GMT) Full text and rfc822 format available.

Reply sent to Eric Blake <eblake <at> redhat.com>:
You have taken responsibility. (Mon, 08 Oct 2012 16:52:02 GMT) Full text and rfc822 format available.

Notification sent to Гальченко Алексей <gasx <at> rambler.ru>:
bug acknowledged by developer. (Mon, 08 Oct 2012 16:52:03 GMT) Full text and rfc822 format available.

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

From: Eric Blake <eblake <at> redhat.com>
To: Гальченко Алексей <gasx <at> rambler.ru>
Cc: 12602-done <at> debbugs.gnu.org
Subject: Re: bug#12602: bug in chmod
Date: Mon, 08 Oct 2012 10:50:54 -0600
[Message part 1 (text/plain, inline)]
tag 12602 notabug
thanks

On 10/08/2012 09:29 AM, Гальченко Алексей wrote:
> root <at> desktop:/home/user# chmod a+r *
> chmod: неизвестный ключ «--else»
> Попробуйте `chmod --help' для получения более подробного описания.

Thanks for the report.  However, I suspect that what happened is that
you have a file in your current working directory whose name starts with
'-', and was therefore treated as an option.  If I'm right, then this
FAQ covers the situation:
https://www.gnu.org/software/coreutils/faq/#I-have-a-file-_0027_002df_0027-and-it-affects-rm_002e

and you can use either of these constructs to avoid the issue:

chmod a+r ./*
chmod a+r -- *

-- 
Eric Blake   eblake <at> 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. (Tue, 06 Nov 2012 12:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 12 years and 288 days ago.

Previous Next


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