From 52538fbb611e718a2d89142431b73b3f68daa4e8 Mon Sep 17 00:00:00 2001
From: Guillaume Rousse <guillaume.rousse@renater.fr>
Date: Mon, 6 Nov 2017 14:44:12 +0100
Subject: [PATCH] drop useless chdir and umask directives

---
 bin/account-manager-web.pl.in | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/bin/account-manager-web.pl.in b/bin/account-manager-web.pl.in
index ac2f0f5..bd996d7 100755
--- a/bin/account-manager-web.pl.in
+++ b/bin/account-manager-web.pl.in
@@ -12,11 +12,6 @@ my $configuration = IdPAccountManager::Configuration->new(
     file => '@sysconfdir@/IdPAccountManager.conf'
 );
 
-## Gives writes for the group
-umask 0002;
-
-chdir $configuration->{root_manager_dir};
-
 my $request = new IdPAccountManager::WebRequest(
     configuration => $configuration
 );
-- 
GitLab