]> Creatis software - creaToolsTools.git/commitdiff
chown *everything* in order not to anymore trouble
authorjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 9 May 2011 13:04:29 +0000 (13:04 +0000)
committerjean-pierre roux <jean-pierre.roux@creatis.insa-lyon.fr>
Mon, 9 May 2011 13:04:29 +0000 (13:04 +0000)
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
+