Thomas Hood <[EMAIL PROTECTED]> wrote:
> I tested install 5.93 and the bug (or feature) is still there.
>
> That is,
>
>     install -d -m 0755 foo
>
> creates a directory foo with g+s perm if foo's parent has s perm.
> This does look like a bug to me.

Re: <http://bugs.debian.org/37150>

Thanks for checking.
The code and documentation do disagree.

Maybe the code needs to use chmod in this case.

Or maybe the documentation should simply admit that when using -d, certain
directory attributes (e.g., for ACLs, too) may be inherited.  One argument
in favor of this approach is that Solaris 9's /usr/sbin/install also
works this way.

I'm leaning toward the latter.


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to