Re: my Linux users can't save
- From: Wuphon's Reach <wuphonsreach@xxxxxxxxxxxxxxxx>
- Date: Fri, 28 Oct 2005 22:40:02 -0400
Darryl Gerbrandt wrote:
Where is Angband looking to save the files?
Never mind, I found that. It was actually in ~/.angband I chmodded that folder, my users can save games now.
But I still can't save to the scores file! :(
Where do they hide that?
On Gentoo (I just emerged angband tonight) it's under:
coppermine apex # pwd /usr/share/games/angband/lib/apex coppermine apex # ls -l total 0 -rw-rw---- 1 root games 0 Oct 28 15:07 delete.me -rw-rw---- 1 root games 0 Oct 28 15:07 scores.raw coppermine apex #
It's the only scores file on the system at the moment (and its location matches the Win32 score file).
The individual save files are in lib/save and are working properly on my copy of Gentoo (Angband 3.0.5 package). Make sure to add individual users to the "games" group.
coppermine lib # pwd /usr/share/games/angband/lib coppermine lib # ls -l total 48 drwxrwx--- 2 root games 4096 Oct 28 15:07 apex drwxr-x--- 2 root games 4096 Oct 28 15:07 bone drwxr-x--- 2 root games 4096 Oct 28 15:07 data drwxr-x--- 2 root games 4096 Oct 28 15:07 edit drwxr-x--- 2 root games 4096 Oct 28 15:07 file drwxr-x--- 2 root games 4096 Oct 28 15:07 help drwxr-x--- 2 root games 4096 Oct 28 15:07 info drwxr-x--- 2 root games 4096 Oct 28 17:42 pref drwxrwx--- 2 root games 4096 Oct 28 18:29 save drwxr-x--- 2 root games 4096 Oct 28 15:07 script drwxrwx--- 2 root games 4096 Oct 28 15:07 user drwxr-x--- 3 root games 4096 Oct 28 15:07 xtra coppermine lib #
I'm not sure why scores.raw is not being updated. You can see that apex has the same directory attributes as the save folder. Here's permissions for individual files in the save folder.
coppermine save # pwd /usr/share/games/angband/lib/save coppermine save # ls -l total 88 -rw-r--r-- 1 wuphon users 45844 Oct 28 17:29 1000.Wuphon -rw-r--r-- 1 fred users 37590 Oct 28 18:29 1002.Fred ----rw---- 1 root games 0 Oct 28 15:07 delete.me coppermine save #
User is rw, group is read-only, other (world) is read-only.
....
If I remove the scores.raw file from lib/apex, the file gets created by the next user to exit Angband (thus updating the score file). However, it's always created as a zero-byte file.
.
- Follow-Ups:
- Re: my Linux users can't save
- From: Wuphon's Reach
- Re: my Linux users can't save
- References:
- my Linux users can't save
- From: Darryl Gerbrandt
- Re: my Linux users can't save
- From: Darryl Gerbrandt
- my Linux users can't save
- Prev by Date: Re: Status of randarts code in the 3.0 line?
- Next by Date: Re: my Linux users can't save
- Previous by thread: Re: my Linux users can't save
- Next by thread: Re: my Linux users can't save
- Index(es):