Преглед изворни кода

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

DieFeM пре 12 година
родитељ
комит
124fcccb2f
1 измењених фајлова са 3 додато и 0 уклоњено
  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