]> Creatis software - creaToolsTools.git/blobdiff - Linux/scripts/ThirdParty-install.sh
chown *everything* in order not to anymore trouble
[creaToolsTools.git] / Linux / scripts / ThirdParty-install.sh
index fbb85ef968131848d371d98452a42c5bda860bc1..2f4fdaf100511aea6d2ee18279b0b49e773c2196 100644 (file)
@@ -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
+