Frictional Games Forum (read-only)
Permission issues - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-57.html)
+--- Forum: Technical Support - Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-31.html)
+---- Forum: Linux - ATDD (https://www.frictionalgames.com/forum/forum-32.html)
+---- Thread: Permission issues (/thread-4109.html)



Permission issues - pedromc - 09-10-2010

I will first point out that I don't run programs as root if I don't have to, so I run both the installer and the game in a non root accounts.

I have noticed two issues related to permissions.

The first is during install. I selected /usr/local/games/ as the install directory. This directory was owned by root (as it should be). I had previously, as root, created a /usr/games/Amnesia/ directory owned by installer user, and had given that user write permission. Even so, the installer incorrectly complained about not having write permission to /usr/local/games/. The installer, before checking for write permission to the install directory, should check if a Amnesia directory with adequate permissions already exist.

The second is during game play. When loading/entering a new section of the game it aborts with a assertion 'cfile' failed. After reading the trouble shooting guide, I gave write permission to the directory /usr/games/Amnesia/ for all users, but the game continued to have the same problem. I then gave write permission to all files and subdirectories in /usr/games/Amnesia/ and that resolved that problem.

I trust the few users in this system will behave (or cruel & unusual punishments follow Smile ) but this solution is less than ideal and presents clear security issues. Write operation should be performed in the $HOME directory and system directories should always be, at most, read only.

Also, while I'm complaining, why the need for the ego trip in $HOME/.frictionalgames/Amnesia ?
Hint: $HOME/.Amnesia Wink

The rest worked very well, great performance, and great graphics. Thanks.
Just noticed I posted in the wrong place. It should have been posted in "Linux - Technical Support".
Please move this thread there. Thanks.


RE: Permission issues - jens - 09-10-2010

Thank you for reporting, issues are known and being worked on!