hash file access

Miika Turkia miika.turkia at gmail.com
Fri Oct 23 08:37:18 PDT 2015


On Fri, Oct 23, 2015 at 4:28 PM, Robert Helling <helling at atdotde.de> wrote:
> Willem,
>
> On 23.10.2015, at 15:26, Willem Ferguson <willemferguson at zoology.up.ac.za>
> wrote:
>
> On my machine the hash file in home/.subsurface can only be accessed by
> root. This does NOT apply to the .subsurface directory.
> This gives a terminal error message when executing Subsurface as non-root.
> Is this a coding problem or a setup problem on my Ubuntu 15.04?
>
>
> I wonder how it got there. Did you ever run Subsurface as root?

This must be the cause, as that is the only way Subsurface can create
files or dirs as root. Easy solution is to chown the files to your
normal user e.g.
chown -R willem ~/.subsurface

Just use the correct user name, if it is not willem :D My guess is
that you have run subsurface with sudo at some point e.g. due to
insufficient privileges to download from DC (or by accident).

miika


More information about the subsurface mailing list