severity 732416 important
tags 732416 + moreinfo
thanks

On 17/12/13 at 20:48 +0100, Andreas Beckmann wrote:
> Package: how-can-i-help
> Version: 1
> Severity: serious
> User: debian...@lists.debian.org
> Usertags: piuparts
> 
> Hi,
> 
> during a test with piuparts I noticed your package creates the following
> files:
> 
>   /local/piuparts/piupartss/.cache/how-can-i-help/how-can-i-help.json.gz
>   /local/piuparts/piupartss/.cache/how-can-i-help/seen.json
> 
> /local/piuparts/piupartss is the home directory of the piupartss user
> on the "host" system that runs "sudo piuparts" - neither the user nor
> the directory do exist inside the chroot environment used by piuparts.
> If something similar happens during a "normal" installation, the user
> may end up with a root owned ~/.cache afterwards.
> 
> I have seen similar bugs before, but so far nobody investigated this
> deep enough to find the root cause ...

Hi Andreas,

The fact that, after installing hcih, one gets a .cache/ directory, is
normal. It's part of what hcih does.

The fact that this .cache directory is in the host root's home dir is
not normal, and very surprising. Are you able to reproduce this outside
piuparts?

The relevant piece of code in hcih is:
HOME=ENV['HOME']
CACHEDIR = "#{HOME}/.cache/how-can-i-help"

So I don't really see how this could go wrong...

Thanks,

Lucas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to