opensubscriber
   Find in this group all groups
 
Unknown more information…

b : bug-coreutils@gnu.org 6 March 2012 • 4:20AM -0500

bug#8391: chmod setuid & setguid bits
by Bruno Haible

REPLY TO AUTHOR
 
REPLY TO GROUP




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
or
    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.

Bruno





Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.