[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#12602: bug in chmod
From: |
Eric Blake |
Subject: |
bug#12602: bug in chmod |
Date: |
Mon, 08 Oct 2012 10:50:54 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120911 Thunderbird/15.0.1 |
tag 12602 notabug
thanks
On 10/08/2012 09:29 AM, Гальченко Алексей wrote:
> address@hidden:/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 address@hidden +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature