[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bugreport for ChMod
From: |
Michael Gorbovitski |
Subject: |
Re: Bugreport for ChMod |
Date: |
Tue, 09 Oct 2007 17:19:18 -0400 |
User-agent: |
Thunderbird 2.0.0.6 (Windows/20070728) |
Micah Cowan wrote:
> Michael Gorbovitski wrote:
>> chmod --help
>> results in :
>> help for chmod
>> ......
>> Each MODE is of the form `[ugoa]*([-+=]([rwxXst]*|[ugo]))+'.
>
>> Report bugs to <address@hidden>.
>
>
>> The above regular expression is unparsable by most people requesting the
>> help.
>
> Heartily agreed. Ugly and unnecessary, IMO.
>
> Besides, we already have an at least marginally easier-to-grok version
> further up: [ugoa...][[+-=][rwxXstugo...]...][,...]. Though I'm not sure
> this shouldn't go, either.
>
Leaving it in is not that bad, in my opinion.
I would just want a common example there, something along the lines of:
To let everyone (the 'w'orld) 'r'ead the file foo, use the command
chmod w+r foo
Maybe 1 or 2 examples, and 3-4 lines exaplaining w,r,x,X and a,u, and g.
Maybe even omit X and g, as they are much more rarely used.