From 40476293960a65ea06ad40538ee37be3ee05b668 Mon Sep 17 00:00:00 2001 From: Bernardo Dal Seno <bdalseno@google.com> Date: Fri, 9 Dec 2011 00:35:47 +0100 Subject: [PATCH] devel/upload: Fix permissions for installed directories Permissions for the directories created during install depended on the umask of the user running the script. Now umask is reset inside the script to remove such dependency. Signed-off-by: Bernardo Dal Seno <bdalseno@google.com> Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Iustin Pop <iustin@google.com> (cherry picked from commit 0f7968005178cd29bddd83b55c6e86816011c124) --- devel/upload.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/devel/upload.in b/devel/upload.in index 885a51d22..91682859a 100644 --- a/devel/upload.in +++ b/devel/upload.in @@ -76,6 +76,9 @@ else make_args= fi +# Make sure that directories will get correct permissions +umask 0022 + # install ganeti as a real tree make $make_args install DESTDIR="$TXD" -- GitLab