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