瀏覽代碼

Document the executable permission for the dedicated server binary

Hugo Locurcio 4 年之前
父節點
當前提交
3192ebe1a2
共有 1 個文件被更改,包括 8 次插入0 次删除
  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
 -----------------------------