Ticket #714 (closed bug: invalid)

Opened 14 months ago

Last modified 8 months ago

setgid problems again

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

Description (last modified by takkaria) (diff)

> 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.

Attachments

Change History

Changed 14 months ago by takkaria

  • description modified (diff)

Changed 13 months ago by anonymous

Doesn't strace disable setgid?

Changed 8 months ago by takkaria

  • status changed from new to closed
  • resolution set to invalid

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.

Add/Change #714 (setgid problems again)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.