Procházet zdrojové kódy

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

DieFeM před 12 roky
rodič
revize
124fcccb2f
1 změnil soubory, kde provedl 3 přidání a 0 odebrání
  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/*.sh
 fi
+if [ -d "$AGENTDIR/screenlogs" ]; then
+	chmod -Rf ugo=rw $AGENTDIR/screenlogs
+fi
 chmod +x $AGENTDIR/ogp_agent.pl
 chmod +x $AGENTDIR/ogp_agent_run