Why can't I save games in Metropolis?

Asked by David Mcleod

When I try to save a game in Metropolis, I get a message that says "Permission Denied".
Can someone please help? Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu util-linux Edit question
Assignee:
No assignee Edit question
Solved by:
David Mcleod
Solved:
Last query:
Last reply:
Revision history for this message
Chris (fabricator4) said :
#1

I can not find any reference to a Linux game called "Metropolis" in the repositories or on line anywhere. The most likely reason though is that the directory where the game is trying to save its savegame files to is not owned by you.

One possible solution is to change the parent directory and change the ownership of the savedgames directory and all it's contents.

sudo chown -R username:username directoryname

For more information on the chown command see:

man chown

However you should not change the permission for any filesystem type directories outside of you home directory for security reasons.

You should also read the manual for the game to find out how it is supposed to be configured. It's possible that users of the game need to belong to a particular group that will give read/write access to the correct files. This would be the preferred method if that is the way it is supposed to be configured.

Chris

Revision history for this message
David Mcleod (spankenstein89) said :
#2

Pardon me, my mistake. I meant Micropolis, not Metropolis. It's a Linux version of SimCity.
It's open source from what I understand, so should it matter if I don't own the directory?

Anyway thanks for the info, I'll try your suggestion and see if it works.
Thank-you.

Revision history for this message
Chris (fabricator4) said :
#3

Ah, OK. It seems that Micropolis does default to a system directory that you should not try to take ownership of. Instead, users seems to recommend doing a 'save as' and specifiying a directory in their /home directory rather than just a 'save'.

You might also like to have a look at Lincity.

Chris

Revision history for this message
David Mcleod (spankenstein89) said :
#4

Okay great, thank-you, I'll try that