[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 21:20:20 +0100
User-agent: KMail/4.7.4 (Linux/3.1.0-1.2-desktop; KDE/4.7.4; x86_64; ; )

Paul Eggert wrote:
> this use of "+" does not conflict with input usages like
> "chmod +x foo".

It's because this use of '+' is easy to remember.
"chmod +x" means "add execution permissions".
"chmod -x" means "remove execution permissions".

You want a symbol for "assign exact permissions".
IMO the equals sign is a more well-known symbol for assignment than '@'.
So, how about a notation
    chmod =755
    chmod =rw-r--r--

Then there will not only be no conflict with MacOS X. It will also be
reasonably easy to remember for the users.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]