I recently had someone reporting a problem with my mods, which I have never seen before. After investigating, I found out he was running the DayZ Server on Linux and the problem was, that user json files could not be loaded from a folder. The whole folder would be scanned and all files should be loaded by my mod and the problem was, that FindFile would never return a valid FileHandle even when changing the permissions of the folder to 777 and trying some more possible fixes
Description
Description
Details
Details
- Severity
- Block
- Resolution
- Open
- Reproducibility
- Always
- Operating System
- Linux x64
- Category
- General
Steps To Reproduce
Install a DayZ Server on Linux, create a folder in the profiles folder, add some files in there and try to use
string filename; FileAttr attrs; FileHandle handle = FindFiles("$profile:TestFolder/*", filename, attrs, FineFileMode.ANY); if (handle == 0) Error("Could not open folder"); Print("Found: " + filename); while (FindNextFile(handle, filename, attr)) Print("Found: " + filename); CloseFindFile(handle);