bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: coreutils_5.97-5_i386.deb : option -m with symbolic modes


From: Jim Meyering
Subject: Re: coreutils_5.97-5_i386.deb : option -m with symbolic modes
Date: Fri, 15 Sep 2006 10:32:19 +0200

Roland Eggner <address@hidden> 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.




reply via email to

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