Bug #2532

games/hack: permissions

Added by t_dfbsd about 2 years ago. Updated almost 2 years ago.

Status:In ProgressStart date:03/24/2013
Priority:NormalDue date:
Assignee:robgar% Done:


Target version:-


I get this when I try to run hack as non-root:

perm: Permission denied
Cannot link safelock to perm
It seems you don't have write permission here.


#1 Updated by jerome almost 2 years ago

It's because the permissions on the hack directory (/var/games/hackdir, owned by root) are 770, which is a problem as it contains different files that the game will want to access (then impossible for non-root). But for two other games of /var/games, larn and phantasia, permissions are 775 ; I suppose it should have been the same for hack (but I can't find where hack is given its permissions).

#2 Updated by robgar almost 2 years ago

  • Status changed from New to In Progress
  • Assignee set to robgar

I'll take a look at this

Also available in: Atom PDF