From: jean-pierre roux Date: Mon, 9 May 2011 13:04:29 +0000 (+0000) Subject: chown *everything* in order not to anymore trouble X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=2bc35640a5a9c28d848a1c5f41cd46759b5e67b9;p=creaToolsTools.git chown *everything* in order not to anymore trouble --- diff --git a/Linux/scripts/ThirdParty-install.sh b/Linux/scripts/ThirdParty-install.sh index fbb85ef..2f4fdaf 100644 --- a/Linux/scripts/ThirdParty-install.sh +++ b/Linux/scripts/ThirdParty-install.sh @@ -52,11 +52,13 @@ fi if [ ! -e $sourcesDir ] then mkdir $sourcesDir + chown $loginUserName:$loginGroupName $sourcesDir fi if [ ! -e $binDir ] then mkdir $binDir + chown $loginUserName:$loginGroupName $binDir fi @@ -270,3 +272,8 @@ export ETC_BASHRC=$HOME/.bashrc # - add line 'bash $installPrefixThird/share/creatools_third_party_library_config.sh' (with accurate value for ???) echo installPrefixThird=$installPrefixThird >> $ETC_BASHRC echo '[ -f "$installPrefixThird/share/creatools_third_party_library_config.sh" ] && source $installPrefixThird/share/creatools_third_party_library_config.sh' >> $ETC_BASHRC + + + + chown -R $loginUserName:$loginGroupName $generationdir +