Skip to content

Instantly share code, notes, and snippets.

@GONZALORUIZ
Last active May 16, 2017 14:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save GONZALORUIZ/046c51908053d3fdaf65bb4a80acf110 to your computer and use it in GitHub Desktop.
setPremissions.sh
export JULIA_PKGDIR="/home/hadoop/.julia/"
declare -a users=("jlssh01" "spark" "yarn" "hadoop")
for usr in "${users[@]}"; do
setfacl -m -R u:${usr}:rwx "${JULIA_PKGDIR}v0.5"
done
export JULIA_HOME="/usr/local/julia-6445c82d00"
$JULIA_HOME/bin/julia -e 'Pkg.Add("IJulia")'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment