Work folder is not being cleaned

Hey @Piotr,

Jumping in for Finnian as he is off shift at the moment and something rang a bell from your previous comment.

You did actually put a request in for this ages ago which resulted in us creating this GitHub issue and subsequently fixing it allowing non-root users to be able to run our docker images.

But I recalled our lead engineer recently saying something about a non-root user and docker. I then found the forum post where he mentioned what the issue was, whilst this is not directly related to the work folder I do believe it is a similar issue you are seeing, just on a different folder:

The problem stemming from the fact we don’t add the octopus user to the subuid/subgid files - it’s currently on the backlog, and the team will get this fixed up at the earliest opportunity.

You mentioned:

Later, we noticed that Tentacle was logging a message on the machine indicating a lack of permissions. We turned out that the data in the Works folder was owned by the root user

So it might be the case we need to add the octopus user to the work folder too alongside the subuid/subgid files?

I will add this to the discussion with Finnian and the engineers and see if that is the issue and if so we can hopefully get that fixed for you and other users, I have not heard of other users having this issue but it might be they just have not noticed the work folder not being cleaned out properly.

We will be in touch when we have an update for you,
Kind Regards,
Clare