Yaribz / SPADS

SpringRTS Perl Autohost for Dedicated Server
GNU General Public License v3.0
17 stars 16 forks source link

[SPADS] Unable to create temporary directory "/.InlinePython.tmp" for Inline::Python used by plugin SpadsPluginApi: Permission denied #54

Closed Beherith closed 3 years ago

Beherith commented 3 years ago

I tried looking through the source, and it seems that the catdir func is not getting anything for instanceDir, so it is trying to create a temp directory in root (which naturally wont succeed :) ). InstanceDir is defined in my main spads.conf as:

https://github.com/Yaribz/SPADS/blob/e258204ffc1d84b7e8865c47b1e73a8c79275d92/src/SpadsPluginApi.pm#L54

My spads.conf:

SPADS files

etcDir:etc varDir:var instanceDir:spads_host14 logDir:log

the spads_host14 folder exists and is rwxrwxrwx

Thank you for looking into this!

Yaribz commented 3 years ago

fixed in SPADS 0.12.31, thanks for the report !