[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bug#8391: chmod setuid & setguid bits
From: |
Bruno Haible |
Subject: |
Re: bug#8391: chmod setuid & setguid bits |
Date: |
Mon, 05 Mar 2012 23:27:34 +0100 |
User-agent: |
KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; ) |
Ondrej Vasik wrote:
> Therefore @ sign was chosen
> based on http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8391#59 ...
The choice was pretty random:
"we can choose some otherwise-unused character, such as '@'."
By the same argument one could also choose any of
'%'
'^'
','
'.'
'_'
> However, you are right that = is more intuitive (using exact mode, when
> specified as first character) - but using it for that will either change
> behaviour or confuse people for 'chmod =rwx DIR' usecase, if there are
> special bits on directory.
Then how about using "==" or ":=" to designate the assignment?
chmod ==755 DIR
or
chmod :=755 DIR
Both somehow remind assignment. The "==" choice also is similar with
chmod 00755 DIR
Bruno
- Re: bug#8391: chmod setuid & setguid bits, Ondrej Vasik, 2012/03/05
- Re: bug#8391: chmod setuid & setguid bits, Bruno Haible, 2012/03/05
- Re: bug#8391: chmod setuid & setguid bits, Paul Eggert, 2012/03/05
- Re: bug#8391: chmod setuid & setguid bits, Bruno Haible, 2012/03/05
- Re: bug#8391: chmod setuid & setguid bits, Bob Proulx, 2012/03/05
- Re: bug#8391: chmod setuid & setguid bits, Ondrej Vasik, 2012/03/05
- Re: bug#8391: chmod setuid & setguid bits,
Bruno Haible <=
- Re: bug#8391: chmod setuid & setguid bits, Ondrej Vasik, 2012/03/06
- Re: bug#8391: chmod setuid & setguid bits, Paul Eggert, 2012/03/06
- Re: bug#8391: chmod setuid & setguid bits, Jim Meyering, 2012/03/06
- Re: bug#8391: chmod setuid & setguid bits, Paul Eggert, 2012/03/08