Opened 12 years ago

Closed 11 years ago

#714 closed bug (invalid)

setgid problems again

Reported by: takkaria Owned by:
Milestone: 3.1.1 beta Keywords:

Description (last modified by takkaria)

> ii) I compiled with --with-setgid=games. angband could write a
> savefile, but then would just create a new character each time I
> started up the game again. From strace:
> stat64("/var/newangband/share/angband/save/1024.Matthew", 0xbf824300) = -1 EACCES (Permission denied)
> I'm not quite sure why that's happening - the directory was created
> d---rwx--- root:games and the executible -rwxr-sr-x root:games
> So, something's wrong with the savefile/setgid handling, and I feel
> angband really ought to produce an error message in these
> circumstances, rather than silently creating a new character.

Change History (3)

comment:1 Changed 12 years ago by takkaria

  • Description modified (diff)

comment:2 Changed 12 years ago by anonymous

Doesn't strace disable setgid?

comment:3 Changed 11 years ago by takkaria

  • Resolution set to invalid
  • Status changed from new to closed

I actually have no idea what's going on here, since the game definitely errors if it can't read an existing savefile. Going to mark it as invalid and see if it crops up again.

Note: See TracTickets for help on using tickets.