W: Download is performed unsandboxed as root as file '/root/.synaptic/tmp//tmp_cl' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
A quick google search and subsequent linux mint forum tells me:
In this specific case, you may ignore the complaint. The reason is: Synaptic executed some action as user root, instead of user _apt. As a consequence, _apt does not have the needed privileges of deleting file /root/.synaptic/tmp//tmp_cl, which is owned by root.
In case you should be worried that the directory /root/.synaptic/tmp/ might be filled with junk in the course of time, you may check with root privileges, what is in there. Here it is empty. So it seems as if root does not only create /root/.synaptic/tmp//tmp_cl, but that root also deletes /root/.synaptic/tmp//tmp_cl, when it is no longer needed.
The installation will have finished correctly, although the error message gets displayed.
(https://forums.linuxmint.com/viewtopic.php?t=280054)
I WAS messing about with a PORTEUS linux live usb on that day and I remember I had to keep using 'root thunar' to move files around which seemed strange to me.
The above post advises to ignore it. However, I don't really fancy seeing that for the next 'x' number of years, every time I do an update.
Ubuntu forums give me this:
https://askubuntu.com/questions/908800 ... ed-as-rootUsually apt uses the user _apt to download packages. In your case _apt doesn't have write permission to either /var/cache/apt/archives/partial/ or an existing file /var/cache/apt/archives/partial/samba-libs_2%3a4.5.8+dfsg-0ubuntu0.17.04.1_i386.deb so it downloaded the file as root.
Make sure /var/cache/apt/archives/partial/ and everything below it are writeable for _apt, e.g. by running
Code: Select all
sudo chown -Rv _apt:root /var/cache/apt/archives/partial/ sudo chmod -Rv 700 /var/cache/apt/archives/partial/
So, should I ignore it or am I safe to change the permissions? This is my main system and I am normally very very cautious when it comes to messing around with it.