Sfoglia il codice sorgente

Merge pull request #4574 from Calinou/exporting-dedicated-servers-executable-permission

Document the executable permission for the dedicated server binary
Rémi Verschelde 4 anni fa
parent
commit
9960d1f887
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8 0
      tutorials/export/exporting_for_dedicated_servers.rst

+ 8 - 0
tutorials/export/exporting_for_dedicated_servers.rst

@@ -82,6 +82,14 @@ different name, you can specify the path to the PCK file using the
 
     ./godot-server --main-pack my_project.pck
 
+.. warning::
+
+    Make sure the aforementioned ``godot-server`` has the executable permission
+    defined by running ``chmod +x godot-server`` (if the binary is called
+    ``godot-server``). Otherwise, you may get a "command not found" or
+    "permission denied" error message when trying to run the Godot server
+    binary.
+
 Starting the dedicated server
 -----------------------------