diff --git a/script/4_server-compile.sh b/script/4_server-compile.sh index d7d9535..d44313a 100755 --- a/script/4_server-compile.sh +++ b/script/4_server-compile.sh @@ -31,9 +31,9 @@ then ########################################################################################## - # Ensure all folder and files are accesible for the current user + # set folder rights to current user ########################################################################################## - sudo find ${ROOT_DIR}/_server/ -user root -exec sudo chown $USER: {} + + sudo chown -R $USER ${ROOT_DIR} echo "Executed..."