Comment 52 for bug 1522675

Revision history for this message
Julian Andres Klode (juliank) wrote : Re: Needless scary warning: Download is performed unsandboxed as root: _apt user not allowed

The message won't be removed. It's worded as good as it can be now.

Maintainer scripts using apt-helper to download stuff (or clients using libapt-pkg) should be fixed to use proper permissions on the directories so the _apt user can write files (best create a temporary directory I'd say owned by _apt, download to that).

For interactive use, the message appears in a very limited set of circumstances. Namely, "download" and "source" run as root (maybe "changelog", depending on your tmpfs setup, not sure). Running these commands as root does not make that much sense anyway, especially source.

So if users can reproduce this with a specific package that uses our tools, please add a task for that tool. From the apt side, this is working as intended.