The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Permission issues
pedromc Offline
Junior Member

Posts: 1
Threads: 1
Joined: Sep 2010
Reputation: 0
#1
Solved: 8 Years, 9 Months ago Permission issues

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.
(This post was last modified: 09-10-2010, 12:18 PM by pedromc.)
09-10-2010, 12:15 PM
Find


Messages In This Thread
Permission issues - by pedromc - 09-10-2010, 12:15 PM
RE: Permission issues - by jens - 09-10-2010, 12:46 PM



Users browsing this thread: 2 Guest(s)