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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...