Quantcast
Channel: FTB Packs - Feed the Beast Support
Viewing all articles
Browse latest Browse all 3786

Galactic Science Server File Permission Error

$
0
0

@SnailsAttack wrote:

While attempting to run a galactic science server, I get an error that says

"The file “ServerStart-Other.command” could not be executed because you do not have appropriate access privileges."

This does not make sense, however, as it should definitely have full permissions to run.


!/bin/sh

cd "$(dirname "$0")"

Read config

. ./config.txt

makes things easier if script needs debugging

if [ x$FTB_VERBOSE = xyes ]; then
set -x
fi

cleaner code

eula_false() {
grep -q 'eula=false' eula.txt
return $?
}

run install script if MC server or launchwrapper s missing

if [ ! -f minecraft_server.1.7.10.jar ]; then
echo "Running installer!"
java -jar $forge-installer.jar --installServer
fi

check if there is eula.txt and if it has correct content

if [ -f eula.txt ] && eula_false ; then
printf "\033c"
echo "Make sure to read eula.txt before playing!"
echo "To exit press "
read ignored
exit
fi

inform user if eula.txt not found

if [ ! -f eula.txt ]; then
printf "\033c"
echo "Missing eula.txt. Startup will fail and eula.txt will be created"
echo "Make sure to read eula.txt before playing!"
echo "To continue press "
read ignored
fi

echo "Starting server"
java -server -Xms$minMem -Xmx$maxMem -XX:PermSize=256m -d64 -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+CMSClassUnloadingEnabled -XX:ParallelGCThreads=2 -XX:MinHeapFreeRatio=5 -XX:MaxHeapFreeRatio=10 -jar $forge-universal.jar nogui
echo "Server process finished"


Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 3786

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>