[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hearse configuration problem - file permissions



David Jardine wrote:
> Jude DaShiell wrote:
> > jude@md:~$ sudo ls -l /var/games/nethack
> > total 20
> > drwxr-sr-x 2 root games 4096 Jul 10 07:43 bones
> 
> It looks as if you don't have read permission on the /var/games/nethack 
> directory itself.

It looks to me like the nethack installation was chmod'd after install
to remove group write permission.  On a fresh install you should have
the following:

  $ ls -ld /var/games/nethack
  drwxrwsr-x 4 root games 4096 Jul 11 11:45 /var/games/nethack

  $ ls -l /var/games/nethack
  total 8
  drwxrwsr-x 2 root games 4096 May 14  2010 dumps/
  -rw-rw-r-- 1 root games    0 Jul 11 11:45 logfile
  -rw-rw-r-- 1 root games    0 Jul 11 11:45 perm
  -rw-rw-r-- 1 root games    0 Jul 11 11:45 record
  drwxrwsr-x 2 root games 4096 May 14  2010 save/

  $ ls -l /usr/lib/games/nethack/nethack-*
  -rwxr-sr-x 1 root games 1768936 May 14  2010 /usr/lib/games/nethack/nethack-console

The setgid is normal.  But your permissions on the directory have been
corrupted.  You could probably fix the permissions.  Or purge and
re-install but that would of course lose any of your saved games.

Bob

Attachment: signature.asc
Description: Digital signature


Reply to: