[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: symbolic permission for `all'
From: |
Bob Proulx |
Subject: |
Re: symbolic permission for `all' |
Date: |
Tue, 27 May 2003 23:13:57 -0600 |
User-agent: |
Mutt/1.3.28i |
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