Karl Berry wrote:
> It would be nice if there was a symbolic permission meaning `all
> modes'. Say `a', for the sake of argument. It would useful
> in a command like chmod ug+rw,o-a to take away all permissions from
> `other'. o-rwxst, besides being verbose, feels like there might be some
> other kind of permission in the future or on some other system.
>
> Another way to achieve the same result would be to allow numeric modes,
> at least after =, as in chmod ug+rw,o=0 (which gets `invalid mode
> string').
Hmm... How about this?
touch foo
ll foo
-rw-r--r-- 1 bob bob 0 May 27 23:07 foo
chmod ug+rw,o= foo
ll foo
-rw-rw---- 1 bob bob 0 May 27 23:07 foo
Bob