Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25262 - [dwarffortress] permissions errors

Attached to Project: Community Packages
Opened by Overand (overand) - Tuesday, 26 July 2011, 00:01 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Tuesday, 16 August 2011, 04:00 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

The directory /opt/df_linux/data/save/current/ had the wrong permissions on my system. This may be partially pebkac, but also reflects a probably-positive config change.

I expect this is beacuse my initial run was done via sudo for testing purposes, but regardless - based on my experiences, /opt/df_linux/data/save/current/ needs to be 755 and inside the "games" group.


Additional info:
* multilib/dwarffortress 0.31.25-1

Steps to reproduce:

Install (from clean) dwarffortress

Run as root / some user

Exit

Start again, as a standard user. Generate a map, attempt to 'use' it. This will *not* create a 'start a new game' menu item, as the map wasn't able to save due to permissions failure to write in /opt/df_linux/data/save/current

To fix, chown whatever:games /opt/df_linux/data/save/current and chmod 775 (probably already 775)
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Tuesday, 16 August 2011, 04:00 GMT
Reason for closing:  No response
Comment by Sven-Hendrik Haase (Svenstaro) - Wednesday, 27 July 2011, 16:44 GMT
Well, what exactly are you suggesting to fix this then? As far as I am aware, df doesn't support writing stuff properly in the home dir. If you change permissions as root then you should be aware of what you are doing. Having to resort to using a games group for this is unfortunate but as long as df doesn't have proper home support, what do?

Loading...