Description of problem: Handling of persistent data is very broken. Bones files are not saved and character deaths are not saved. Version-Release number of selected component (if applicable): crawl-0.19.5-1.fc24.x86_64 How reproducible: Always Steps to Reproduce: 1. Start a game 2. Die 3. Start the program again Actual results: Last character unavailable; high scores updated Expected results: Last character available; high scores empty Additional info: This problem seems to be related to directory permissions.
Please, try this new build: https://koji.fedoraproject.org/koji/taskinfo?taskID=19821684
I can't seem to install this one: sudo dnf install crawl*rpm Last metadata expiration check: 0:02:46 ago on Sat Jun 3 16:09:22 2017. Dependencies resolved. ============================================================================= Package Arch Version Repository Size ============================================================================= Installing: compat-lua-libs x86_64 5.1.5-5.fc24 fedora 163 k crawl x86_64 0.19.5-3.fc24 @commandline 3.7 M crawl-common-data noarch 0.19.5-3.fc24 @commandline 2.2 M crawl-tiles x86_64 0.19.5-3.fc24 @commandline 3.9 M crawl-tiles-data noarch 0.19.5-3.fc24 @commandline 5.0 M Transaction Summary ============================================================================= Install 5 Packages Total size: 15 M Total download size: 163 k Installed size: 35 M Is this ok [y/N]: y Downloading Packages: compat-lua-libs-5.1.5-5.fc24.x86_64.rpm 522 kB/s | 163 kB 00:00 ----------------------------------------------------------------------------- Total 224 kB/s | 163 kB 00:00 Running transaction check Transaction check succeeded. Running transaction test The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Transaction check error: file /usr/share/crawl/dat conflicts between attempted installs of crawl-tiles-data-0.19.5-3.fc24.noarch and crawl-common-data-0.19.5-3.fc24.noarch This is funny - in the previous version there was no conflict despite double ownership: $ rpm -qf /usr/share/crawl/dat crawl-common-data-0.19.5-1.fc24.noarch crawl-tiles-data-0.19.5-1.fc24.noarch
Ops! Sorry, my bad. This one: https://koji.fedoraproject.org/koji/taskinfo?taskID=19823378
This package installs, but has the same problem: # crawl-tiles failed to open score file for writing: Permission denied
I hope my change works; try this build https://koji.fedoraproject.org/koji/taskinfo?taskID=19881160. (In reply to buzire.rhn from comment #4) > This package installs, but has the same problem: > > # crawl-tiles > failed to open score file for writing: Permission denied Are you starting Crawl as root?
No, of course not :)
(In reply to Antonio Trande from comment #5) > I hope my change works; try this build > https://koji.fedoraproject.org/koji/taskinfo?taskID=19881160. >
Sorry for missing that. The result: $ crawl-tiles failed to open score file for writing: Permission denied
(In reply to buzire.rhn from comment #8) > Sorry for missing that. > > The result: > > $ crawl-tiles > failed to open score file for writing: Permission denied It's strange, it does not happen to me. Install RPMs from https://koji.fedoraproject.org/koji/taskinfo?taskID=19881160, make sure 'crawl' group exists and your user is member of the group 'crawl'.
When installing only crawl-tiles and dependencies: $ sudo usermod -a -G crawl rhn [sudo] password for rhn: usermod: group 'crawl' does not exist After installing crawl and adding group: $ groups rhn crawl wireshark [rhn@movable ~]$ crawl-tiles Bones directory "/usr/share/crawl/dat/bones/" does not exist and I can't create it. Bones directory "/usr/share/crawl/dat/bones/" does not exist and I can't create it. Bones directory "/usr/share/crawl/dat/bones/" does not exist and I can't create it. failed to open score file for writing: Permission denied
Update to 0.20.0: https://koji.fedoraproject.org/koji/taskinfo?taskID=19902875 Does it work?
No, unfortunately still the same: $ crawl-tiles failed to open score file for writing: Permission denied Maybe the paths are wrong? /usr/share/crawl seems improper for save files - I have an impression that it should be in /var somewhere (but I may be wrong).
Please, post the output of ls -Rl /usr/share/crawl (use https://paste.fedoraproject.org/)
As per request: https://paste.fedoraproject.org/paste/lTcR11chFMMJmfZ1LzN4Ol5M1UNdIGYhyRLivL9gydE=
crawl-0.20.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-2cde4c213b
crawl-0.20.0-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2017-a5ca96c6b3
crawl-0.20.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ac3633b0a3
crawl-0.20.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ac3633b0a3
crawl-0.20.0-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-a5ca96c6b3
crawl-0.20.0-1.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-2cde4c213b
crawl-0.20.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
crawl-0.20.0-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
crawl-0.20.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
The version uploaded to the testing repository still has the same problem on my system (fc24).
I've upgraded to craw-0.20.0-1 on Fedora 25 and I still get the error when I get killed: "failed to open score file for writing: Permission denied"
Please, make a backup of your Crawl directories in home $ mv $HOME/.crawl/morgue $HOME/.crawl/morgue.backup $ mv $HOME/.crawl/saves $HOME/.crawl/saves.backup and try this new build: https://koji.fedoraproject.org/koji/taskinfo?taskID=20225942
crawl-0.20.1-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-1da029d8ac
The immediate problem is fixed - with `crawl-tiles` after dying, the welcome screen shows. Note that: - I added my user to `crawl` group - I installed `crawl`, which is *not* a dependency of `crawl-tiles``, but which seems to create the `crawl` group
(In reply to buzire.rhn from comment #28) > The immediate problem is fixed - with `crawl-tiles` after dying, the welcome > screen shows. Are you using crawl-0.20.1-1? > > Note that: > - I added my user to `crawl` group > - I installed `crawl`, which is *not* a dependency of `crawl-tiles``, but > which seems to create the `crawl` group Try without being a 'crawl' group member please.
crawl-0.20.1-2.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f1aa99a052
crawl-0.20.1-2.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-d58fcfc99b
crawl-0.20.1-2.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-515afdb82d
crawl-0.20.1-2.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-f1aa99a052
crawl-0.20.1-2.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
crawl-0.20.1-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.
crawl-0.20.1-2.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
$ rpm -q crawl crawl-0.20.1-2.fc25.x86_64 $ groups rhn wireshark vultures Crawl saves progress now, thank you!