bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: Unpriviledged DESTDIR install of su


From: Paul Jarc
Subject: Re: Unpriviledged DESTDIR install of su
Date: Tue, 29 Oct 2002 14:07:02 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i686-pc-linux-gnu)

Bernd Jendrissek <address@hidden> wrote:
> --- coreutils-4.5.3/src/Makefile.am     Fri Oct 25 20:58:45 2002
> +++ coreutils-4.5.3/src/Makefile.am.orig        Sun Sep 22 00:40:35 2002
> @@ -95,9 +95,9 @@
>    echo " $(INSTALL_PROGRAM) $$p $(installed_su)"; \
>    $(INSTALL_PROGRAM) $$p $(installed_su); \
>    echo " chown root $(installed_su)"; \
> +  chown root $(installed_su) || true; \
> -  chown root $(installed_su); \
>    echo " chmod $(setuid_root_mode) $(installed_su)"; \
> +  chmod $(setuid_root_mode) $(installed_su) || true
> -  chmod $(setuid_root_mode) $(installed_su)

I don't think it should be made setuid if chown fails.


paul




reply via email to

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