Project

General

Profile

Actions

Bug #2532

closed

games/hack: permissions

Added by Anonymous over 11 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
03/24/2013
Due date:
% Done:

0%

Estimated time:

Description

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.

Actions #1

Updated by jerome over 11 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).

Actions #2

Updated by robgar over 11 years ago

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

I'll take a look at this

Actions #3

Updated by lamaddox over 9 years ago

  • Description updated (diff)

Three work-arounds which should work:
1) make hack setuid
2) add your user to the same group as hack.
3) make hack playground world-writeable

Actions #4

Updated by zrj over 7 years ago

  • Status changed from In Progress to Closed

Closing. Should be playable with added fallback after d30a46c23861ab80d97903fe63829cccd327fff4

Actions

Also available in: Atom PDF