Jump to content

[SOLVED!] The System Cannot Create The user.cfg and logs files


revtm
 Share

Recommended Posts

when i play the game, its always show error text:

"ERROR: CConfigDB::WriteFile(): CreateFile "config/user.cfg" failed (error: -110300)"

then in the terminal i found this error too:

Failed to write UserReport to /home/revan/.config/0ad/logs/userreport_hwdetect.txt

i have enable the read, write and exec permission on the config directory using chmod, but it still show the write user.cfg file error. can anyone help me? btw sorry for my broken english.

OS: Linux Lubuntu 18.04

Screenshot from 2021-12-28 13-26-59.png

Screenshot from 2021-12-28 13-28-03.png

Edited by revtm
the problem is solved, thank you!
Link to comment
Share on other sites

  • revtm changed the title to [SOLVED!] The System Cannot Create The user.cfg and logs files
On 28/12/2021 at 6:12 PM, revtm said:

Now the problem is solved :) 

Looked at the source code of the snap

If you have the opportunity to try to roll back to the default settings and try to start the game like this:
 

Quote

HOME=~/snap/0ad/current snap run 0ad

In theory, this should fix the problem with access rights when working in "snap classic confinement"

Edited by nwtour
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...