Roland Eggner <[EMAIL PROTECTED]> wrote:
> install -m a-x SOURCE DEST
> install -m a-X SOURCE DEST
> both commands reset ALL bits like "chmod 000 DEST", should ONLY reset 
> executable bits!

Thanks for the report, but install has always worked that way.
That is the documented and long-accepted behavior.
In "info coreutils install", you can read that the starting
point for "relative" modes like "a-x" is 000, or "a=":

`-m MODE'
`--mode=MODE'
     Set the permissions for the installed file or directory to MODE,
     which can be either an octal number, or a symbolic mode as in
     `chmod', with `a=' (no access allowed to anyone) as the point of
     departure (*note File permissions::).  The default mode is
     `u=rwx,go=rx'--read, write, and execute for the owner, and read
     and execute for group and other.


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to