Explorar o código

The agent launcher/updater now sets the correct permissions for 'screenlogs' folder and files.

DieFeM %!s(int64=12) %!d(string=hai) anos
pai
achega
124fcccb2f
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      ogp_agent_run

+ 3 - 0
ogp_agent_run

@@ -15,6 +15,9 @@ if [ -d "$AGENTDIR/steamcmd" ]; then
 	chmod +x $AGENTDIR/steamcmd/linux32/*
 	chmod +x $AGENTDIR/steamcmd/linux32/*
 	chmod +x $AGENTDIR/steamcmd/*.sh
 	chmod +x $AGENTDIR/steamcmd/*.sh
 fi
 fi
+if [ -d "$AGENTDIR/screenlogs" ]; then
+	chmod -Rf ugo=rw $AGENTDIR/screenlogs
+fi
 chmod +x $AGENTDIR/ogp_agent.pl
 chmod +x $AGENTDIR/ogp_agent.pl
 chmod +x $AGENTDIR/ogp_agent_run
 chmod +x $AGENTDIR/ogp_agent_run