From 52061d2af8561f660fc1daed67eab9baa1cfd50a Mon Sep 17 00:00:00 2001 From: Joe Groocock Date: Tue, 4 Sep 2018 18:52:45 +0100 Subject: [PATCH] Revert "setuid on su and ping binaries" This never worked on symlinks anyway This reverts commit dfe1423c2e39bb0744a08207173022d39609118b. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 97d7d7e..5b750db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -137,7 +137,7 @@ COPY --from=builder /output/ / # Add default skeleton configuration files COPY skel/ / RUN chmod 1777 /tmp && \ - chmod u+s /usr/bin/ping /usr/bin/su + chmod 775 /usr/bin/* ENV ENV="/etc/profile" ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/bin